]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sound: usb-audio: add workaround for Blue Microphones devices
authorClemens Ladisch <clemens@ladisch.de>
Mon, 13 Jul 2009 11:21:58 +0000 (13:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Jul 2009 09:55:00 +0000 (11:55 +0200)
commit8886f33f25083a47d5fa24ad7b57bb708c5c5403
tree6f6e50f07811c01cd7ec469223ba70fb71ae50f6
parent6847e154e3cd74fca6084124c097980a7634285a
sound: usb-audio: add workaround for Blue Microphones devices

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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c