acrn-kernel/sound/hda
Takashi Iwai 52e25a323c ALSA: hda: Refer to correct stream index at loops
[ Upstream commit 26257869672fd4a06a60c2da841e15fb2cb47bbe ]

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
Kconfig
Makefile
array.c
hda_bus_type.c
hdac_bus.c
hdac_component.c
hdac_controller.c
hdac_device.c
hdac_i915.c
hdac_regmap.c
hdac_stream.c ALSA: hda: Refer to correct stream index at loops 2024-02-05 20:12:54 +00:00
hdac_sysfs.c
hdmi_chmap.c
intel-dsp-config.c
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
local.h
trace.c
trace.h