linux-stable/sound/hda
Takashi Iwai 52e25a323c ALSA: hda: Refer to correct stream index at loops
[ Upstream commit 2625786967 ]

In a couple of loops over the all streams, we check the bitmap against
the loop counter.  A more correct reference would be, however, the
index of each stream, instead.

This patch corrects the check of bitmaps to the stream index.

Note that this change doesn't fix anything for now; all existing
drivers set up the stream indices properly, hence the loop count is
always equal with the stream index.  That said, this change is only
for consistency.

Link: https://lore.kernel.org/r/20231121154125.4888-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-05 20:12:54 +00:00
..
ext ALSA: hda: ext: remove always-true conditions on host and link release 2022-09-20 08:08:14 +02:00
Kconfig
Makefile
array.c
hda_bus_type.c
hdac_bus.c ALSA: hda: Skip event processing for unregistered codecs 2022-07-15 16:26:50 +02:00
hdac_component.c
hdac_controller.c ALSA: hda: Reset all SIE bits in INTCTL 2022-07-09 18:41:40 +02:00
hdac_device.c ALSA: hda: Fix unhandled register update during auto-suspend period 2023-05-30 14:03:17 +01:00
hdac_i915.c ALSA: hda: Fix discovery of i915 graphics PCI device 2022-06-21 14:05:12 +02:00
hdac_regmap.c ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() 2023-08-23 17:52:26 +02:00
hdac_stream.c ALSA: hda: Refer to correct stream index at loops 2024-02-05 20:12:54 +00:00
hdac_sysfs.c ALSA: hda: fix potential memleak in 'add_widget_node' 2022-11-10 15:28:12 +01:00
hdmi_chmap.c ALSA: hda: Replace runtime->status->state reference to runtime->state 2022-09-27 08:47:33 +02:00
intel-dsp-config.c ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection 2023-11-08 14:11:05 +01:00
intel-nhlt.c ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format 2024-01-20 11:50:04 +01:00
intel-sdw-acpi.c ALSA: hda: intel-sdw-acpi: Use u8 type for link index 2023-10-06 14:56:55 +02:00
local.h
trace.c
trace.h tracing: ALSA: hda: Remove string manipulation out of the fast path 2022-07-04 14:31:19 +02:00