[hid] usb hid quirks for Masterkit MA901 usb radio
authorAlexey Klimov <klimov.linux@gmail.com>
Mon, 12 Nov 2012 05:57:03 +0000 (02:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 28 Dec 2012 14:21:58 +0000 (12:21 -0200)
Don't let Masterkit MA901 USB radio be handled by usb hid drivers.
This device will be handled by radio-ma901.c driver.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h

index eb2ee11b6412ac43e9baa08596b881d92c8430e3..ccca9ac34dca4b1ba13d35819fc1d39ff9f54500 100644 (file)
@@ -2070,6 +2070,7 @@ static const struct hid_device_id hid_ignore_list[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HYBRID) },
        { HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HEATCONTROL) },
        { HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_BEATPAD) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_MASTERKIT, USB_DEVICE_ID_MASTERKIT_MA901RADIO) },
        { HID_USB_DEVICE(USB_VENDOR_ID_MCC, USB_DEVICE_ID_MCC_PMD1024LS) },
        { HID_USB_DEVICE(USB_VENDOR_ID_MCC, USB_DEVICE_ID_MCC_PMD1208LS) },
        { HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT1) },
index 4dfa605e2d14417203e734c4a68dc2447e86f5c2..f39be08c13581900056e95402d96d3820bb72278 100644 (file)
 #define USB_VENDOR_ID_MADCATZ          0x0738
 #define USB_DEVICE_ID_MADCATZ_BEATPAD  0x4540
 
+#define USB_VENDOR_ID_MASTERKIT                        0x16c0
+#define USB_DEVICE_ID_MASTERKIT_MA901RADIO     0x05df
+
 #define USB_VENDOR_ID_MCC              0x09db
 #define USB_DEVICE_ID_MCC_PMD1024LS    0x0076
 #define USB_DEVICE_ID_MCC_PMD1208LS    0x007a