Skip to content

Conversation

@bardliao
Copy link
Collaborator

link_mask is set to hdev->info.link_mask at the beginning of hda_sdw_machine_select(). However, some SDW links may not have any peripheral connected. We should reset it to 0 before adding the link id bits to the link_mask. Otherwise, the link_index will not start with 0 if the link_mask include any link that without peripheral.

Fixes: 5226d19 ("ASoC: SOF: Intel: use sof_sdw as default SDW machine driver")

@bardliao bardliao requested review from ranj063 and ujfalusi January 13, 2026 13:24
link_mask is set to hdev->info.link_mask at the beginning of
hda_sdw_machine_select(). However, some SDW links may not have any
peripheral connected. We should set the mask bits where at lease one
peripheral is connected.

Fixes: 5226d19 ("ASoC: SOF: Intel: use sof_sdw as default SDW machine driver")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
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.

1 participant