diff options
| author | AceLan Kao <acelan.kao@canonical.com> | 2018-08-21 04:55:13 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2018-08-28 07:46:12 -0400 |
| commit | fb6acf76c3fdd97fea6995e64e2c665725f00fc5 (patch) | |
| tree | 1279e3df6abd448a0554f4e02c2fcfc320b9bb14 /drivers/hid | |
| parent | e0ab8b26aa9661df0541a657e2b2416d90488809 (diff) | |
HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen
The incomplete report flooded after S3 and touchscreen becomes
malfunctioned.
[ 1367.646244] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/18785)
[ 1367.649471] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/28743)
[ 1367.651092] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/26757)
[ 1367.652658] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/52280)
[ 1367.654287] i2c_hid i2c-CUST0000:00: i2c_hid_get_input: incomplete report (58/56059)
Adding device ID, 04F3:30CC, to the quirk to re-send report description
after resume.
Cc: stable@vger.kernel.org
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
| -rw-r--r-- | drivers/hid/hid-ids.h | 1 | ||||
| -rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 79bdf0c7e351..34367df61b28 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
| @@ -530,6 +530,7 @@ | |||
| 530 | 530 | ||
| 531 | #define I2C_VENDOR_ID_RAYD 0x2386 | 531 | #define I2C_VENDOR_ID_RAYD 0x2386 |
| 532 | #define I2C_PRODUCT_ID_RAYD_3118 0x3118 | 532 | #define I2C_PRODUCT_ID_RAYD_3118 0x3118 |
| 533 | #define I2C_PRODUCT_ID_RAYD_4B33 0x4B33 | ||
| 533 | 534 | ||
| 534 | #define USB_VENDOR_ID_HANWANG 0x0b57 | 535 | #define USB_VENDOR_ID_HANWANG 0x0b57 |
| 535 | #define USB_DEVICE_ID_HANWANG_TABLET_FIRST 0x5000 | 536 | #define USB_DEVICE_ID_HANWANG_TABLET_FIRST 0x5000 |
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 2ce194a84868..57126f6837bb 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c | |||
| @@ -174,6 +174,8 @@ static const struct i2c_hid_quirks { | |||
| 174 | I2C_HID_QUIRK_RESEND_REPORT_DESCR }, | 174 | I2C_HID_QUIRK_RESEND_REPORT_DESCR }, |
| 175 | { USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS10FB_TOUCH, | 175 | { USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS10FB_TOUCH, |
| 176 | I2C_HID_QUIRK_RESEND_REPORT_DESCR }, | 176 | I2C_HID_QUIRK_RESEND_REPORT_DESCR }, |
| 177 | { I2C_VENDOR_ID_RAYD, I2C_PRODUCT_ID_RAYD_4B33, | ||
| 178 | I2C_HID_QUIRK_RESEND_REPORT_DESCR }, | ||
| 177 | { 0, 0 } | 179 | { 0, 0 } |
| 178 | }; | 180 | }; |
| 179 | 181 | ||
