Skip to content

Commit 0c84322

Browse files
pyma1Jiri Kosina
authored andcommitted
HID: i2c-hid: fix no irq after reset on raydium 3118
On some ThinkPad L390 some raydium 3118 touchscreen devices doesn't response any data after reset, but some does. Add this ID to no irq quirk, then don't wait for any response alike on these touchscreens. All kinds of raydium 3118 devices work fine. BugLink: https://bugs.launchpad.net/bugs/1849721 Signed-off-by: Aaron Ma <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent f1a0094 commit 0c84322

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,7 @@
960960

961961
#define I2C_VENDOR_ID_RAYDIUM 0x2386
962962
#define I2C_PRODUCT_ID_RAYDIUM_4B33 0x4b33
963+
#define I2C_PRODUCT_ID_RAYDIUM_3118 0x3118
963964

964965
#define USB_VENDOR_ID_RAZER 0x1532
965966
#define USB_DEVICE_ID_RAZER_BLADE_14 0x011D

drivers/hid/i2c-hid/i2c-hid-core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ static const struct i2c_hid_quirks {
170170
I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV },
171171
{ I2C_VENDOR_ID_HANTICK, I2C_PRODUCT_ID_HANTICK_5288,
172172
I2C_HID_QUIRK_NO_IRQ_AFTER_RESET },
173+
{ I2C_VENDOR_ID_RAYDIUM, I2C_PRODUCT_ID_RAYDIUM_3118,
174+
I2C_HID_QUIRK_NO_IRQ_AFTER_RESET },
173175
{ USB_VENDOR_ID_ELAN, HID_ANY_ID,
174176
I2C_HID_QUIRK_BOGUS_IRQ },
175177
{ 0, 0 }

0 commit comments

Comments
 (0)