Skip to content

Conversation

@ujfalusi
Copy link
Collaborator

The hda_ipc4_proceed_sending() can replace the duplicated code in cnl.c, hda-ipc.c and mtl.c which handles the decision to delay a message sending due to busy DSP side.

With the generic function we can also add debug prints to track message flow disruptions.

The hda_ipc4_proceed_sending() can replace the duplicated code in cnl.c,
hda-ipc.c and mtl.c which handles the decision to delay a message sending
due to busy DSP side.

With the generic function we can also add debug prints to track message
flow disruptions.

Signed-off-by: Peter Ujfalusi <[email protected]>
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks ok, one funny spelling error slipped in, see inline.

} else if (hdev->delayed_ipc_tx_msg == msg) {
struct sof_ipc4_msg *msg_data = msg->msg_data;

dev_dbg(sdev->dev, "Sending delayed massage: %#x|%#x",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if delayed "massage" is healthy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants