]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: usb-audio: Don't attempt to get Microsoft Lifecam Cinema sample rate
authorAdam Honse <calcprogrammer1@gmail.com>
Sun, 12 Apr 2015 06:03:07 +0000 (01:03 -0500)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 9 Jun 2015 18:31:49 +0000 (14:31 -0400)
[ Upstream commit eef0342cf32689f77d78ee3302999e5caaa6a8f3 ]

Adds Microsoft LifeCam Cinema USB ID to the snd_usb_get_sample_rate_quirk list as the Lifecam Cinema does not appear to support getting the sample rate.

Fixes the issue where the LifeCam Cinema would wait for USB timeout and log the message "cannot get freq at ep 0x82" when accessed.

Addresses bug report https://bugzilla.kernel.org/show_bug.cgi?id=95961.

Signed-off-by: Adam Honse <calcprogrammer1@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/usb/quirks.c

index b92f4035e1d2e6d1a4461593948b920745f87817..1e882a6813cf22e56eb25ecbf985d62a927ca3ce 100644 (file)
@@ -1106,6 +1106,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
 {
        /* devices which do not support reading the sample rate. */
        switch (chip->usb_id) {
+       case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
        case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
        case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
                return true;