mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
eab2b553c3
When storing the channel numbers used by a format, and if the device happens to support 32 channels, the code would try to store 1<<32 in a 32-bit value. Since no valid format can have zero channels, we can use 1<<(channels-1) instead of 1<<channels so that all the channel numbers that we test for fit into 32 bits. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
caiaq | ||
usx2y | ||
Kconfig | ||
Makefile | ||
usbaudio.c | ||
usbaudio.h | ||
usbmidi.c | ||
usbmixer_maps.c | ||
usbmixer.c | ||
usbquirks.h |