diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-11-21 16:41:25 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-11-21 16:42:06 +0100 |
commit | 26257869672fd4a06a60c2da841e15fb2cb47bbe (patch) | |
tree | 9b559d656a9367828d5661585ac346c7279bbca0 /include/sound | |
parent | 5a77457232fa0453da4d3d5a7d530129944aeeb5 (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 'include/sound')
0 files changed, 0 insertions, 0 deletions