]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa0362fd022270a677f16f36e7b96dac27a93fd4
tree145524babf4dd5dcf69ae33eb03453e2966e5e03
parent1e379f1329799c1e2e345d5d2a61f2a43a1a610e
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