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)
committerTakashi Iwai <tiwai@suse.de>
Sun, 12 Apr 2015 07:08:42 +0000 (09:08 +0200)
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>
sound/usb/quirks.c

index 9a28365126f9ab170454e46249348a06df8a2f32..32631a86078bf4b3ff438a605358b1814c692634 100644 (file)
@@ -1115,6 +1115,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;