Skip to content

Commit f79fba0

Browse files
committed
fixup! ASoC: SOF: sof-client-probes-ipc4: Implement ipc4_probes_points_info
sof client drivers must not access sdev directly. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 48e1714 commit f79fba0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/sof/sof-client-probes-ipc4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static int ipc4_probes_points_info(struct sof_client_dev *cdev,
238238

239239
msg.extension = SOF_IPC4_MOD_EXT_MSG_PARAM_ID(param_id);
240240

241-
msg.data_size = cdev->sdev->ipc->max_payload_size;
241+
msg.data_size = sof_client_get_ipc_max_payload_size(cdev);
242242
msg.data_ptr = kzalloc(msg.data_size, GFP_KERNEL);
243243
if (!msg.data_ptr)
244244
return -ENOMEM;

0 commit comments

Comments
 (0)