summaryrefslogtreecommitdiff
path: root/sound/core/pcm.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-11-21 16:41:25 +0100
committerTakashi Iwai <tiwai@suse.de>2023-11-21 16:42:06 +0100
commit26257869672fd4a06a60c2da841e15fb2cb47bbe (patch)
tree9b559d656a9367828d5661585ac346c7279bbca0 /sound/core/pcm.c
parent5a77457232fa0453da4d3d5a7d530129944aeeb5 (diff)
ALSA: hda: Refer to correct stream index at loops
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>
Diffstat (limited to 'sound/core/pcm.c')
0 files changed, 0 insertions, 0 deletions