HID: i2c-hid: Fix flooded incomplete report after S3 on Rayd touchscreen
authorAceLan Kao <acelan.kao@canonical.com>
Tue, 21 Aug 2018 08:55:13 +0000 (16:55 +0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Aug 2018 11:46:12 +0000 (13:46 +0200)
commitfb6acf76c3fdd97fea6995e64e2c665725f00fc5
tree1279e3df6abd448a0554f4e02c2fcfc320b9bb14
parente0ab8b26aa9661df0541a657e2b2416d90488809
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>
drivers/hid/hid-ids.h
drivers/hid/i2c-hid/i2c-hid.c