sound: usb-audio: add workaround for Blue Microphones devices
commit2a1495a3933cb333301693b32311f0798e6d2607
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 23:06:00 +0000 (30 16:06 -0700)
treef0755c83fd96059ca1ca19779fc93bd2b3baaaa5
parentd9120d6d357e869bd8d064b38ac33a6b48ba36c9
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