diff options
| author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2026-02-03 15:24:05 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-02-03 13:47:11 +0000 |
| commit | 284e70ace9ecdeb8644fbe65c5da12c90b377545 (patch) | |
| tree | 67084ab95ce29be05753785ec10fa48d8860c0a3 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 10db9f6899dd3a2dfd26efd40afd308891dc44a8 (diff) | |
ASoC: SOF: Intel: use hdev->info.link_mask directly
The link_mask variable is not changed after setting to
hdev->info.link_mask until it is used for another purpose to get the
used SoundWire links and set to mach->mach_params.links. Besides, the
link_mask variable should be reset before any link id is added to the
link_mask. To fix the issue above and avoid confusing, use the
hdev->info.link_mask variable directly to check if the SoundWire link
is enabled.
Fixes: 5226d19d4cae ("ASoC: SOF: Intel: use sof_sdw as default SDW machine driver")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20260203072405.3716307-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
