]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hid/hid-ids.h
HID: fix Masterkit MA901 hid quirks
authorAlexey Klimov <klimov.linux@gmail.com>
Wed, 27 Mar 2013 20:07:29 +0000 (00:07 +0400)
committerJiri Kosina <jkosina@suse.cz>
Fri, 29 Mar 2013 14:13:39 +0000 (15:13 +0100)
commit5b4617d82020addf244c8c5206270e49ef9933d6
tree83b9f618c0c160dfd237daea4af0b71fe8e47bd8
parent6aeedba20e82150757f2dd5b896f0e09491a987c
HID: fix Masterkit MA901 hid quirks

This patch reverts commit 0322bd3980 ("usb hid quirks for Masterkit MA901 usb
radio") and adds checks in hid_ignore() for Masterkit MA901 usb radio device.
This usb radio device shares USB ID with many Atmel V-USB (and probably other)
devices so patch sorts things out by checking name, vendor, product of hid device.

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