| From 8eafc0a161123d90617c9ca2eddfe87b382b1b89 Mon Sep 17 00:00:00 2001 |
| From: Takashi Iwai <tiwai@suse.de> |
| Date: Tue, 4 Jun 2013 16:02:54 +0200 |
| Subject: ALSA: usb-audio - Apply Logitech QuickCam Pro 9000 quirk only to audio iface |
| |
| From: Takashi Iwai <tiwai@suse.de> |
| |
| commit 8eafc0a161123d90617c9ca2eddfe87b382b1b89 upstream. |
| |
| ... instead of applying to all interfaces. |
| |
| Reference: http://forums.gentoo.org/viewtopic-p-6886404.html |
| |
| Signed-off-by: Takashi Iwai <tiwai@suse.de> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| sound/usb/quirks-table.h | 8 +++++++- |
| 1 file changed, 7 insertions(+), 1 deletion(-) |
| |
| --- a/sound/usb/quirks-table.h |
| +++ b/sound/usb/quirks-table.h |
| @@ -215,7 +215,13 @@ |
| .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL |
| }, |
| { |
| - USB_DEVICE(0x046d, 0x0990), |
| + .match_flags = USB_DEVICE_ID_MATCH_DEVICE | |
| + USB_DEVICE_ID_MATCH_INT_CLASS | |
| + USB_DEVICE_ID_MATCH_INT_SUBCLASS, |
| + .idVendor = 0x046d, |
| + .idProduct = 0x0990, |
| + .bInterfaceClass = USB_CLASS_AUDIO, |
| + .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL, |
| .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { |
| .vendor_name = "Logitech, Inc.", |
| .product_name = "QuickCam Pro 9000", |