summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-07 19:20:43 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-08 08:47:07 +0200
commitf224bd39d2bf95ebe5f81e710293cabac3d22636 (patch)
treebeb2ba2288c8eba423225e239def5bf55f3343df /tools/lib/python
parent905a07c711baf184d01aebd3cf9028a89bcd8b7f (diff)
ALSA: usb-audio: Fix mixer bitmap cache over 32 channels
USB-audio driver keeps the bitmap for the cached mixer channels, but since a 32bit integer is used, it's currently broken for over 32 channels. As the driver is supposed to support up to 64 channels, this patch extends the bitmap properly -- now to be more flexible, use the standard bitmap instead of the manual bit shifts. Some checks for master channels are replaced in a slightly different manner (checking the channel index 0) instead of the full cval->cached check, so that it fits better in the bitmap helper usage. Fixes: 16ee07bfa935 ("ALSA: usb-audio: Extend max number of channels to 64") Reported-by: Sashiko <sashiko-bot@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20261007172051.13240-8-tiwai@suse.de
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions