Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Dec 3, 2025

When converting to new dai_set_config() interface, incorrect size was passed. copier_cfg->gtw_cfg.config_length is in words, but dai_set_config() takes size in bytes.

Fixes: b9fb0b4 ("audio: dai: Pass bespoke config size through dai_set_config chain")

When converting to new dai_set_config() interface, incorrect size was
passed. copier_cfg->gtw_cfg.config_length is in words, but
dai_set_config() takes size in bytes.

Fixes: b9fb0b4 ("audio: dai: Pass bespoke config size through dai_set_config chain")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i requested a review from abonislawski December 3, 2025 14:40
Copilot AI review requested due to automatic review settings December 3, 2025 14:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the IPC4 DAI configuration where an incorrect size parameter was being passed to the dai_set_config() function. The issue arose from a misunderstanding of units: config_length is measured in words, but dai_set_config() expects the size in bytes.

  • Converts the configuration length from words to bytes by shifting left by 2 (multiplying by 4)
  • Adds a clarifying comment about the unit of config_length

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kv2019i
Copy link
Collaborator Author

kv2019i commented Dec 3, 2025

CI seems good. Unrelated mei0 error for https://sof-ci.01.org/sofpr/PR10416/build17832/devicetest/index.html?model=LNLM_RVP_NOCODEC&testcase=check-suspend-resume-with-capture-5 , same with the PTL test. Once review is ok, this is ready to go.

@kv2019i
Copy link
Collaborator Author

kv2019i commented Dec 4, 2025

Known issues in LNL/PTL jenkins test rounds. but the critical nocodec tests affected by this PR pass. Rerun some of the github flows, those also pass now. Proceeding with merge.

@kv2019i kv2019i merged commit c628db0 into thesofproject:main Dec 4, 2025
56 of 60 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.

3 participants