HID: i2c-hid: Fix resume issue on Raydium touchscreen device
authorAaron Ma <aaron.ma@canonical.com>
Mon, 9 Apr 2018 07:41:31 +0000 (15:41 +0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 12 Apr 2018 13:06:18 +0000 (15:06 +0200)
commit3e83eda467050f13fa69d888993458b76e733de9
tree145524babf4dd5dcf69ae33eb03453e2966e5e03
parent619d3a2922ce623ca2eca443cc936810d328317c
HID: i2c-hid: Fix resume issue on Raydium touchscreen device

When Rayd touchscreen resumed from S3, it issues too many errors like:
i2c_hid i2c-RAYD0001:00: i2c_hid_get_input: incomplete report (58/5442)

And all the report data are corrupted, touchscreen is unresponsive.

Fix this by re-sending report description command after resume.
Add device ID as a quirk.

Cc: stable@vger.kernel.org
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/i2c-hid/i2c-hid.c