diff options
| author | Johan Carlsson <[email protected]> | 2024-03-13 08:15:09 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-03-13 13:29:22 +0000 |
| commit | a39d51ff1f52cd0b6fe7d379ac93bd8b4237d1b7 (patch) | |
| tree | 0102e7cdb2728afaf5c69a2bd2c3c92ad7e8a0ea /sound/core/timer.c | |
| parent | ALSA: hda/tas2781: remove unnecessary runtime_pm calls (diff) | |
| download | kernel-a39d51ff1f52cd0b6fe7d379ac93bd8b4237d1b7.tar.gz kernel-a39d51ff1f52cd0b6fe7d379ac93bd8b4237d1b7.zip | |
ALSA: usb-audio: Stop parsing channels bits when all channels are found.
If a usb audio device sets more bits than the amount of channels
it could write outside of the map array.
Signed-off-by: Johan Carlsson <[email protected]>
Fixes: 04324ccc75f9 ("ALSA: usb-audio: add channel map support")
Message-ID: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions
