Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASOC: SOF: Intel: hda-loader: do not wait for HDaudio IOC #5136

Merged

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Aug 6, 2024

Commit 9ee3f0d (" ASOC: SOF: Intel: hda-loader: only wait for HDaudio IOC for IPC4 devices") removed DMA wait for IPC3 case. Proceed and remove the wait for IPC4 devices as well.

There is no dependency to IPC version in the load logic and checking the firmware status is a sufficient check in case of errors.

The removed code also had a bug in that -ETIMEDOUT is returned without stopping the DMA transfer.

Link: #5135
Suggested-by: Peter Ujfalusi peter.ujfalusi@linux.intel.com

@kv2019i
Copy link
Collaborator Author

kv2019i commented Aug 7, 2024

V2:

Commit 9ee3f0d ("ASOC: SOF: Intel: hda-loader: only wait for
HDaudio IOC for IPC4 devices") removed DMA wait for IPC3 case.
Proceed and remove the wait for IPC4 devices as well.

There is no dependency to IPC version in the load logic and
checking the firmware status is a sufficient check in case of
errors.

The removed code also had a bug in that -ETIMEDOUT is returned
without stopping the DMA transfer.

Link: thesofproject#5135
Fixes: 9ee3f0d ("ASOC: SOF: Intel: hda-loader: only wait for HDaudio IOC for IPC4 devices")
Suggested-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@ujfalusi ujfalusi merged commit 6767163 into thesofproject:topic/sof-dev Aug 16, 2024
11 of 14 checks passed
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.

4 participants