Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb6acf76 authored by AceLan Kao's avatar AceLan Kao Committed by Jiri Kosina
Browse files

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: default avatarAceLan Kao <acelan.kao@canonical.com>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent e0ab8b26
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -530,6 +530,7 @@

#define I2C_VENDOR_ID_RAYD		0x2386
#define I2C_PRODUCT_ID_RAYD_3118	0x3118
#define I2C_PRODUCT_ID_RAYD_4B33	0x4B33

#define USB_VENDOR_ID_HANWANG		0x0b57
#define USB_DEVICE_ID_HANWANG_TABLET_FIRST	0x5000
+2 −0
Original line number Diff line number Diff line
@@ -174,6 +174,8 @@ static const struct i2c_hid_quirks {
		I2C_HID_QUIRK_RESEND_REPORT_DESCR },
	{ USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS10FB_TOUCH,
		I2C_HID_QUIRK_RESEND_REPORT_DESCR },
	{ I2C_VENDOR_ID_RAYD, I2C_PRODUCT_ID_RAYD_4B33,
		I2C_HID_QUIRK_RESEND_REPORT_DESCR },
	{ 0, 0 }
};