alistair23-linux/sound
Clemens Ladisch eab2b553c3 sound: usb-audio: fix rules check for 32-channel devices
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>
2009-03-02 14:49:58 +01:00
..
aoa Merge branch 'topic/aoa' into to-push 2008-12-25 11:40:24 +01:00
arm pxa2xx-ac97: switch AC unit to correct state before probing 2009-01-05 17:47:17 +00:00
core Check fops_get() return value 2009-01-06 15:59:11 -08:00
drivers Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-12-30 16:16:21 -08:00
i2c V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl. 2009-01-02 17:11:34 -02:00
isa Merge branch 'topic/pcsp-fix' into topic/misc 2008-12-20 23:39:47 +01:00
mips
oss m68k: dmasound - Kill warn_unused_result warnings 2009-01-12 20:56:42 +01:00
parisc
pci Merge branch 'topic/hda' into for-linus 2009-01-12 14:05:55 +01:00
pcmcia ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule() 2008-12-18 12:17:55 +01:00
ppc
sh
soc Merge branch 'topic/asoc' into for-linus 2009-01-12 14:05:50 +01:00
sparc sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
spi
synth
usb sound: usb-audio: fix rules check for 32-channel devices 2009-03-02 14:49:58 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c ALSA: Fix declaration of sound_class 2008-12-15 16:55:27 +01:00
sound_firmware.c