Skip to content

Commit 04fe31c

Browse files
bardliaoranj063
authored andcommitted
fixup! ASoC: SOF: ipc4: Add support for mandatory message handling functionality
msg is a pointer. We should use "msg = msg_data;" and "msg = reply_data;" Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent e632653 commit 04fe31c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/sof/ipc4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_
365365
#ifdef DEBUG_VERBOSE
366366
/* payload is indicated by non zero msg/reply_bytes */
367367
if (msg_bytes)
368-
*msg = msg_data;
368+
msg = msg_data;
369369
else if (reply_bytes)
370-
*msg = reply_data;
370+
msg = reply_data;
371371

372372
if (msg)
373373
sof_ipc4_dump_payload(sdev, msg->data_ptr, msg->data_size);

0 commit comments

Comments
 (0)