From: Adam Honse Date: Sun, 12 Apr 2015 06:03:07 +0000 (-0500) Subject: ALSA: usb-audio: Don't attempt to get Microsoft Lifecam Cinema sample rate X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eef0342cf32689f77d78ee3302999e5caaa6a8f3;p=linux-beck.git ALSA: usb-audio: Don't attempt to get Microsoft Lifecam Cinema sample rate 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 Cc: Signed-off-by: Takashi Iwai --- diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 9a28365126f9..32631a86078b 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -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;