linux/sound/soc/sof
Bard Liao 284e70ace9
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: 5226d19d4c ("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>
History 2026-02-03 13:47:11 +00:00
..
amd ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
imx ASoC: SOF: imx9: use SCMI API for LM management 2025-11-18 18:54:12 +00:00
intel ASoC: SOF: Intel: use hdev->info.link_mask directly 2026-02-03 13:47:11 +00:00
mediatek ASoC: Use of_reserved_mem_region_to_resource() for "memory-region" 2025-07-04 13:09:47 +01:00
xtensa module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
compress.c ALSA: compress_offload: Add 64-bit safe timestamp infrastructure 2025-09-08 09:33:24 +02:00
control.c ASoC: SOF: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-04 19:28:22 +01:00
core.c ASoC: SOF: set disable_function_topology if override_tplg_filename is set 2025-05-06 22:48:04 +09:00
debug.c ASoC: SOF: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-04 19:28:22 +01:00
fw-file-profile.c ASoC: SOF: Fix function topology name check in profile info output 2025-10-23 13:42:47 +01:00
iomem-utils.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ipc.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc3-control.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc3-dtrace.c ASoC: SOF: ipc3-dtrace: fix potential integer overflow in allocation 2025-09-18 22:26:31 +01:00
ipc3-loader.c ASoC: SOF: ipc3-loader: 'Handle' PROBE_INFO ext_manifest type when parsing 2024-11-07 13:03:23 +00:00
ipc3-pcm.c ASoC: SOF: pcm: Add snd_sof_pcm specific wrappers for dev_dbg() and dev_err() 2025-02-06 11:25:43 +00:00
ipc3-priv.h ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc3-topology.c ASoC: SOF: ipc3-topology: Fix multi-core and static pipelines tear down 2025-10-02 13:31:42 +01:00
ipc3.c ASoC: SOF: ipc3: Use str_enabled_disabled() helper function 2025-02-17 12:09:40 +00:00
ipc4-control.c ASoC: SOF: ipc4-control: Use SOF_CTRL_CMD_BINARY as numid for bytes_ext 2025-05-09 18:20:13 +09:00
ipc4-fw-reg.h ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc4-loader.c treewide: Remove redundant 2025-07-04 22:42:36 +01:00
ipc4-mtrace.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc4-pcm.c ASoC: Fixes for v6.18 2025-10-08 13:52:14 +02:00
ipc4-priv.h ASoC: SOF: ipc4-pcm: Harmonize set pipeline state dbg 2025-06-20 11:33:05 +01:00
ipc4-telemetry.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc4-telemetry.h ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ipc4-topology.c ASoC: SOF: ipc4-topology: fixes for 'exotic' format 2025-12-17 07:53:20 +00:00
ipc4-topology.h ASoC: SOF: ipc4/Intel: Fix the host buffer 2025-10-02 18:07:06 +01:00
ipc4.c ASoC: SOF: ipc4-pcm: Harmonize set pipeline state dbg 2025-06-20 11:33:05 +01:00
Kconfig ASoC: sof: Standardize ASoC menu 2025-06-24 01:01:18 +01:00
loader.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
Makefile ASoC: SOF: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:30 +09:00
nocodec.c ASoC: sof: remove dpcm_xxx flags 2024-10-23 13:01:56 +01:00
ops.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
ops.h iopoll/regmap/phy/snd: Fix comment referencing outdated timer documentation 2024-10-16 00:36:47 +02:00
pcm.c ASoC: SOF: pcm: Set the PCM device name for HDMI 2025-10-29 20:14:43 +00:00
pm.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
sof-acpi-dev.c ASoC: SOF: acpi: Convert to EXPORT_NS_DEV_PM_OPS() 2025-03-17 10:14:55 +00:00
sof-acpi-dev.h ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
sof-audio.c ASoC: SOF: Relocate and rework functionality for PCM stream freeing 2025-02-06 11:25:41 +00:00
sof-audio.h ASoC: SOF: sof-audio: add dev_dbg_ratelimited wrapper 2025-10-03 12:39:47 +01:00
sof-client-ipc-flood-test.c ASoC: SOF: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-04 19:28:22 +01:00
sof-client-ipc-kernel-injector.c ASoC: SOF: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-04 19:28:22 +01:00
sof-client-ipc-msg-injector.c ASoC: SOF: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-04 19:28:22 +01:00
sof-client-probes-ipc3.c ASoC: SOF: sof-client-probes: Add available points_info(), IPC4 only 2025-08-29 13:34:19 +02:00
sof-client-probes-ipc4.c ASoC: SOF: sof-client-probes: Replace snprintf() with scnprintf() 2025-11-18 18:54:14 +00:00
sof-client-probes.c ASoC: sof-client-probes: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:33 +00:00
sof-client-probes.h ASoC: Updates for v6.18 2025-09-20 08:38:17 +02:00
sof-client.c ASoC: SOF: sof-client-probes-ipc4: Query available 2025-08-29 23:19:49 +01:00
sof-client.h ASoC: SOF: sof-client-probes-ipc4: Query available 2025-08-29 23:19:49 +01:00
sof-of-dev.c ASoC: SOF: of: Convert to EXPORT_DEV_PM_OPS() 2025-03-17 10:14:57 +00:00
sof-of-dev.h ASoC: SOF: Move sof_of_machine_select() to core.c from sof-of-dev.c 2023-12-04 17:02:15 +00:00
sof-pci-dev.c ASoC: sof: Use pure devres PCI 2025-05-05 19:32:11 +09:00
sof-pci-dev.h ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
sof-priv.h ASoC: SOF: sof-client: Convert sof_client_dev_to_sof_dev into function 2025-08-29 13:34:25 +02:00
sof-utils.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sof-utils.h ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00
stream-ipc.c ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data() 2025-02-05 14:06:26 +00:00
topology.c ASoC: Intel: common / SOF: Use function topologies for 2025-12-16 20:57:21 +00:00
trace.c ASoC: SOF: Intel: clarify Copyright information 2024-05-06 23:59:35 +09:00