aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 17:39:09 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 17:39:09 -0400
commite317234975cb7463b8ca21a93bb6862d9dcf113f (patch)
tree4446fa3a21364f3cba23a22aa2a94027f169d8df /drivers/hid
parentf37ab0fba271e43edab0e3ae9fe644fcda455402 (diff)
parent7483d45f0aee3afc0646d185cabd4af9f6cab58c (diff)
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab: - V4L2 API additions to better support JPEG compression control - media API additions to properly support MPEG decoders - V4L2 API additions for image crop/scaling - a few other V4L2 API DocBook fixes/improvements - two new DVB frontend drivers: m88rs2000 and rtl2830 - two new DVB drivers: az6007 and rtl28xxu - a framework for ISA drivers, that removed lots of common code found at the ISA radio drivers - a new FM transmitter driver (radio-keene) - a GPIO-based IR receiver driver - a new sensor driver: mt9m032 - some new video drivers: adv7183, blackfin, mx2_emmaprp, sii9234_drv, vs6624 - several new board additions, driver fixes, improvements and cleanups. * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (295 commits) [media] update CARDLIST.em28xx [media] partially reverts changeset fa5527c [media] stb0899: fix the limits for signal strength values [media] em28xx: support for 2304:0242 PCTV QuatroStick (510e) [media] em28xx: support for 2013:0251 PCTV QuatroStick nano (520e) [media] -EINVAL -> -ENOTTY [media] gspca - sn9c20x: Cleanup source [media] gspca - sn9c20x: Simplify register write for capture start/stop [media] gspca - sn9c20x: Add automatic JPEG compression mechanism [media] gspca - sn9c20x: Greater delay in case of sensor no response [media] gspca - sn9c20x: Optimize the code of write sequences [media] gspca - sn9c20x: Add the JPEG compression quality control [media] gspca - sn9c20x: Add a delay after Omnivision sensor reset [media] gspca - sn9c20x: Propagate USB errors to higher level [media] gspca - sn9c20x: Use the new video control mechanism [media] gspca - sn9c20x: Fix loss of frame start [media] gspca - zc3xx: Lack of register 08 value for sensor cs2102k [media] gspca - ov534_9: Add brightness to OmniVision 5621 sensor [media] gspca - zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support [media] pvrusb2: fix 7MHz & 8MHz DVB-T tuner support for HVR1900 rev D1F5 ...
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-core.c10
-rw-r--r--drivers/hid/hid-ids.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 70ca07f10d5c..4da66b4b977c 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2026,6 +2026,16 @@ static bool hid_ignore(struct hid_device *hdev)
2026 if (hdev->product >= USB_DEVICE_ID_LOGITECH_HARMONY_FIRST && 2026 if (hdev->product >= USB_DEVICE_ID_LOGITECH_HARMONY_FIRST &&
2027 hdev->product <= USB_DEVICE_ID_LOGITECH_HARMONY_LAST) 2027 hdev->product <= USB_DEVICE_ID_LOGITECH_HARMONY_LAST)
2028 return true; 2028 return true;
2029 /*
2030 * The Keene FM transmitter USB device has the same USB ID as
2031 * the Logitech AudioHub Speaker, but it should ignore the hid.
2032 * Check if the name is that of the Keene device.
2033 * For reference: the name of the AudioHub is
2034 * "HOLTEK AudioHub Speaker".
2035 */
2036 if (hdev->product == USB_DEVICE_ID_LOGITECH_AUDIOHUB &&
2037 !strcmp(hdev->name, "HOLTEK B-LINK USB Audio "))
2038 return true;
2029 break; 2039 break;
2030 case USB_VENDOR_ID_SOUNDGRAPH: 2040 case USB_VENDOR_ID_SOUNDGRAPH:
2031 if (hdev->product >= USB_DEVICE_ID_SOUNDGRAPH_IMON_FIRST && 2041 if (hdev->product >= USB_DEVICE_ID_SOUNDGRAPH_IMON_FIRST &&
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 2a5cef2f53a7..e39aecb1f9f2 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -471,6 +471,7 @@
471#define USB_DEVICE_ID_LG_MULTITOUCH 0x0064 471#define USB_DEVICE_ID_LG_MULTITOUCH 0x0064
472 472
473#define USB_VENDOR_ID_LOGITECH 0x046d 473#define USB_VENDOR_ID_LOGITECH 0x046d
474#define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e
474#define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101 475#define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101
475#define USB_DEVICE_ID_LOGITECH_HARMONY_FIRST 0xc110 476#define USB_DEVICE_ID_LOGITECH_HARMONY_FIRST 0xc110
476#define USB_DEVICE_ID_LOGITECH_HARMONY_LAST 0xc14f 477#define USB_DEVICE_ID_LOGITECH_HARMONY_LAST 0xc14f