mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Slaby <jslaby@suse.cz>
To: stable@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	AceLan Kao <acelan.kao@canonical.com>,
	Jiri Kosina <jkosina@suse.cz>, Jiri Slaby <jslaby@suse.cz>
Subject: [PATCH 3.12 003/103] HID: usbhid: merge the sis quirk
Date: Thu, 29 May 2014 15:47:48 +0200	[thread overview]
Message-ID: <f49f5d56ccdeeccd1f3a245edbf189e5dc83f9eb.1401371258.git.jslaby@suse.cz> (raw)
In-Reply-To: <bcbac220dab16a4038ac1a7c5cfe3e7f034b3836.1401371258.git.jslaby@suse.cz>
In-Reply-To: <cover.1401371258.git.jslaby@suse.cz>

From: AceLan Kao <acelan.kao@canonical.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit 765e5fbd3e04ba753b2585e9f852fdcd34b95d10 upstream.

USB_VENDOR_ID_SIS and USB_VENDOR_ID_SIS2_TOUCH are identical,
so refine the code and merge the quirks.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/hid/hid-ids.h           | 5 ++---
 drivers/hid/usbhid/hid-quirks.c | 6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index aeeea796f595..6c63cde6b2af 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -753,9 +753,10 @@
 #define USB_VENDOR_ID_SIGMATEL		0x066F
 #define USB_DEVICE_ID_SIGMATEL_STMP3780	0x3780
 
-#define USB_VENDOR_ID_SIS2_TOUCH	0x0457
+#define USB_VENDOR_ID_SIS_TOUCH		0x0457
 #define USB_DEVICE_ID_SIS9200_TOUCH	0x9200
 #define USB_DEVICE_ID_SIS817_TOUCH	0x0817
+#define USB_DEVICE_ID_SIS_TS		0x1013
 
 #define USB_VENDOR_ID_SKYCABLE			0x1223
 #define	USB_DEVICE_ID_SKYCABLE_WIRELESS_PRESENTER	0x3F07
@@ -937,7 +938,5 @@
 #define USB_VENDOR_ID_PRIMAX	0x0461
 #define USB_DEVICE_ID_PRIMAX_KEYBOARD	0x4e05
 
-#define USB_VENDOR_ID_SIS	0x0457
-#define USB_DEVICE_ID_SIS_TS	0x1013
 
 #endif
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 0db9a67278ba..37307dc2d1f7 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -84,8 +84,9 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_REALTEK, USB_DEVICE_ID_REALTEK_READER, HID_QUIRK_NO_INIT_REPORTS },
 	{ USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780, HID_QUIRK_NOGET },
-	{ USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS9200_TOUCH, HID_QUIRK_NOGET },
-	{ USB_VENDOR_ID_SIS2_TOUCH, USB_DEVICE_ID_SIS817_TOUCH, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS9200_TOUCH, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS817_TOUCH, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS_TS, HID_QUIRK_NO_INIT_REPORTS },
 	{ USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_1, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_SYMBOL, USB_DEVICE_ID_SYMBOL_SCANNER_2, HID_QUIRK_NOGET },
@@ -114,7 +115,6 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_NTRIG, USB_DEVICE_ID_NTRIG_DUOSENSE, HID_QUIRK_NO_INIT_REPORTS },
 	{ USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_LTS1, HID_QUIRK_NO_INIT_REPORTS },
 	{ USB_VENDOR_ID_SYNAPTICS, USB_DEVICE_ID_SYNAPTICS_LTS2, HID_QUIRK_NO_INIT_REPORTS },
-	{ USB_VENDOR_ID_SIS, USB_DEVICE_ID_SIS_TS, HID_QUIRK_NO_INIT_REPORTS },
 
 	{ 0, 0 }
 };
-- 
1.9.3


  parent reply	other threads:[~2014-05-29 13:49 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29 13:48 [PATCH 3.12 000/103] 3.12.21-stable review Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 001/103] powerpc: Add vr save/restore functions Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 002/103] audit: restore order of tty and ses fields in log output Jiri Slaby
2014-05-29 13:47 ` Jiri Slaby [this message]
2014-05-29 13:47 ` [PATCH 3.12 004/103] HID: usbhid: fix sis quirk Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 005/103] HID: usbhid: quirk for Synaptics HD touchscreen Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 006/103] HID: usbhid: quirk for Synaptics Quad " Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 007/103] HID: add support for SiS multitouch panel in the touch monitor LG 23ET83V Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 008/103] HID: usbhid: quirk for CY-TM75 75 inch Touch Overlay Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 009/103] xhci: For streams the css flag most be read from the stream-ctx on ep stop Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 010/103] pid: get pid_t ppid of task in init_pid_ns Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 011/103] sched: declare pid_alive as inline Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 012/103] tgafb: fix mode setting with fbset Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 013/103] net: qmi_wwan: add Telit LE920 newer firmware support Jiri Slaby
2014-05-29 13:47 ` [PATCH 3.12 014/103] net: qmi_wwan: add ZTE MF667 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 015/103] net: qmi_wwan: add support for Cinterion PXS8 and PHS8 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 016/103] list: introduce list_next_entry() and list_prev_entry() Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 017/103] scsi: fix our current target reap infrastructure Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 018/103] SCSI: dual scan thread bug fix Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 019/103] SCSI: megaraid: missing bounds check in mimd_to_kioc() Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 020/103] KVM: x86: remove WARN_ON from get_kernel_ns() Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 021/103] audit: convert PPIDs to the inital PID namespace Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 022/103] netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 023/103] blktrace: fix accounting of partially completed requests Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 024/103] netfilter: Can't fail and free after table replacement Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 025/103] tracepoint: Do not waste memory on mods with no tracepoints Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 026/103] rbd: fix error paths in rbd_img_request_fill() Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 027/103] tick-common: Fix wrong check in tick_check_replacement() Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 028/103] don't bother with {get,put}_write_access() on non-regular files Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 029/103] cifs: Wait for writebacks to complete before attempting write Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 030/103] xen/spinlock: Don't enable them unconditionally Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 031/103] HID: core: do not scan constant input report Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 032/103] HID: add NO_INIT_REPORTS quirk for Synaptics Touch Pad V 103S Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 033/103] md/raid1: r1buf_pool_alloc: free allocate pages when subsequent allocation fails Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 034/103] mm/hugetlb.c: add cond_resched_lock() in return_unused_surplus_pages() Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 035/103] mm: use paravirt friendly ops for NUMA hinting ptes Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 036/103] USB: cdc-acm: Remove Motorola/Telit H24 serial interfaces from ACM driver Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 037/103] USB: cp210x: Add 8281 (Nanotec Plug & Drive) Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 038/103] USB: usb_wwan: fix handling of missing bulk endpoints Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 039/103] USB: serial: ftdi_sio: add id for Brainboxes serial cards Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 040/103] usb: option driver, add support for Telit UE910v2 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 041/103] Revert "USB: serial: add usbid for dell wwan card to sierra.c" Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 042/103] USB: serial: fix sysfs-attribute removal deadlock Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 043/103] USB: io_ti: fix firmware download on big-endian machines Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 044/103] usb: qcserial: add Sierra Wireless EM7355 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 045/103] usb: qcserial: add Sierra Wireless MC73xx Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 046/103] usb: qcserial: add Sierra Wireless MC7305/MC7355 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 047/103] usb: option: add Olivetti Olicard 500 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 048/103] usb: option: add Alcatel L800MA Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 049/103] usb: option: add and update a number of CMOTech devices Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 050/103] mlx4_en: don't use napi_synchronize inside mlx4_en_netpoll Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 051/103] fs: Don't return 0 from get_anon_bdev Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 052/103] drm/vmwgfx: correct fb_fix_screeninfo.line_length Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 053/103] drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2 Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 054/103] drm/qxl: unset a pointer in sync_obj_unref Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 055/103] drm/radeon: call drm_edid_to_eld when we update the edid Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 056/103] drm/radeon: fix typo in spectre_golden_registers Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 057/103] drm/i915/tv: fix gen4 composite s-video tv-out Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 058/103] net: sctp: wake up all assocs if sndbuf policy is per socket Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 059/103] net: sctp: test if association is dead in sctp_wake_up_waiters Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 060/103] l2tp: take PMTU from tunnel UDP socket Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 061/103] net: core: don't account for udp header size when computing seglen Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 062/103] bonding: Remove debug_fs files when module init fails Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 063/103] bridge: Fix double free and memory leak around br_allowed_ingress Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 064/103] ipv6: Limit mtu to 65575 bytes Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 065/103] gre: don't allow to add the same tunnel twice Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 066/103] vti: " Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 067/103] ipv4: return valid RTA_IIF on ip route get Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 068/103] filter: prevent nla extensions to peek beyond the end of the message Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 069/103] ip6_gre: don't allow to remove the fb_tunnel_dev Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 070/103] vlan: Fix lockdep warning when vlan dev handle notification Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 071/103] tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 072/103] net: sctp: cache auth_enable per endpoint Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 073/103] net: Fix ns_capable check in sock_diag_put_filterinfo Jiri Slaby
2014-05-29 13:48 ` [PATCH 3.12 074/103] rtnetlink: Warn when interface's information won't fit in our packet Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 075/103] rtnetlink: Only supply IFLA_VF_PORTS information when RTEXT_FILTER_VF is set Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 076/103] ipv6: fib: fix fib dump restart Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 077/103] bridge: Handle IFLA_ADDRESS correctly when creating bridge device Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 078/103] sctp: reset flowi4_oif parameter on route lookup Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 079/103] net: qmi_wwan: add Sierra Wireless EM7355 Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 080/103] net: qmi_wwan: add Sierra Wireless MC73xx Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 081/103] net: qmi_wwan: add Sierra Wireless MC7305/MC7355 Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 082/103] net: qmi_wwan: add Olivetti Olicard 500 Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 083/103] net: qmi_wwan: add Alcatel L800MA Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 084/103] net: qmi_wwan: add a number of CMOTech devices Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 085/103] net: qmi_wwan: add a number of Dell devices Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 086/103] slip: fix spinlock variant Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 087/103] mactap: Fix checksum errors for non-gso packets in bridge mode Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 088/103] Revert "macvlan : fix checksums error when we are in bridge mode" Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 089/103] tcp_cubic: fix the range of delayed_ack Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 090/103] vsock: Make transport the proto owner Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 091/103] ip_tunnel: Set network header properly for IP_ECN_decapsulate() Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 092/103] net: ipv4: ip_forward: fix inverted local_df test Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 093/103] net: ipv6: send pkttoobig immediately if orig frag size > mtu Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 094/103] ipv4: fib_semantics: increment fib_info_cnt after fib_info allocation Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 095/103] net: cdc_mbim: handle unaccelerated VLAN tagged frames Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 096/103] macvlan: Don't propagate IFF_ALLMULTI changes on down interfaces Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 097/103] sfc: fix calling of free_irq with already free vector Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 098/103] ip6_tunnel: fix potential NULL pointer dereference Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 099/103] rtnetlink: wait for unregistering devices in rtnl_link_unregister() Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 100/103] batman-adv: increase orig refcount when storing ref in gw_node Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 101/103] ip_tunnel: Initialize the fallback device properly Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 102/103] ipv4: initialise the itag variable in __mkroute_input Jiri Slaby
2014-05-29 13:49 ` [PATCH 3.12 103/103] net-gro: reset skb->truesize in napi_reuse_skb() Jiri Slaby
2014-05-29 14:33 ` [PATCH 3.12 000/103] 3.12.21-stable review Guenter Roeck
2014-06-04 11:55   ` Jiri Slaby
2014-05-30 19:37 ` Shuah Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f49f5d56ccdeeccd1f3a245edbf189e5dc83f9eb.1401371258.git.jslaby@suse.cz \
    --to=jslaby@suse.cz \
    --cc=acelan.kao@canonical.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®