sound: usb-audio: add workaround for Blue Microphones devices
commit843f9d9fa71d3889169172b20ee07ae6e51c0be4
authorClemens Ladisch <clemens@ladisch.de>
Mon, 13 Jul 2009 11:21:58 +0000 (13 13:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:39:03 +0000 (30 14:39 -0700)
tree480486273426e0d2384b171eca20708512e28d1c
parent59dd743d8d68e265eba65776388e91d298f57928
sound: usb-audio: add workaround for Blue Microphones devices

commit 8886f33f25083a47d5fa24ad7b57bb708c5c5403 upstream.

Blue Microphones USB devices have an alternate setting that sends two
channels of data to the computer.  Unfortunately, the descriptors of
that altsetting have a wrong channel setting, which means that any
recorded data from such a device has twice the sample rate from what
would be expected.

This patch adds a workaround to ignore that altsetting.  Since these
devices have only one actual channel, no data is lost.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/usbaudio.c