Input: elan_i2c - Reduce the resume time for WHITEBOX Machine.
Subsystems (2)
PATCH 1/1 Input: elan_i2c - Reduce the resume time for WHITEBOX Machine.
Singed-off-by Jingle Wu <[email protected]>
--- drivers/input/mouse/elan_i2c.h | 1 + drivers/input/mouse/elan_i2c_core.c | 1 + 2 files changed, 2 insertions(+)
drivers/input/mouse/elan_i2c.h +1 -0
@@ -59,6 +59,7 @@#define ETP_PRODUCT_ID_VOXEL 0x00BF#define ETP_PRODUCT_ID_MAGPIE 0x0120#define ETP_PRODUCT_ID_BOBBA 0x0121 +#define ETP_PRODUCT_ID_WHITEBOX 0x00B8struct i2c_client ;struct completion ;
drivers/input/mouse/elan_i2c_core.c +1 -0
@@ -108,6 +108,7 @@ static u32 elan_i2c_lookup_quirks(u16 ic_type, u16 product_id) { 0x10, ETP_PRODUCT_ID_VOXEL, ETP_QUIRK_QUICK_WAKEUP }, { 0x14, ETP_PRODUCT_ID_MAGPIE, ETP_QUIRK_QUICK_WAKEUP }, { 0x14, ETP_PRODUCT_ID_BOBBA, ETP_QUIRK_QUICK_WAKEUP }, + { 0x0D, ETP_PRODUCT_ID_WHITEBOX, ETP_QUIRK_QUICK_WAKEUP }, };u32 quirks =0 ;int i;
Signature · 1 line
2.20.1
Dmitry Torokhov
maintainerHi Jingle,
Quoted 23 lines · jingle.wu
Singed-off-by Jingle Wu <[email protected]>--- drivers/input/mouse/elan_i2c.h | 1 + drivers/input/mouse/elan_i2c_core.c | 1 + 2 files changed, 2 insertions(+)drivers/input/mouse/elan_i2c.h +1
-0@@ -59,6 +59,7 @@#define ETP_PRODUCT_ID_VOXEL 0x00BF#define ETP_PRODUCT_ID_MAGPIE 0x0120#define ETP_PRODUCT_ID_BOBBA 0x0121 +#define ETP_PRODUCT_ID_WHITEBOX 0x00B8struct i2c_client ;struct completion ;drivers/input/mouse/elan_i2c_core.c +0
-0
drivers/input/mouse/elan_i2c_core.c static u32 elan_i2c_lookup_quirks(u16 ic_type, u16 product_id) · line 111
Quoted 4 lines
drivers/input/mouse/elan_i2c_core.c +1
-0@@ -108,6 +108,7 @@ static u32 elan_i2c_lookup_quirks(u16 ic_type, u16 product_id) { 0x10, ETP_PRODUCT_ID_VOXEL, ETP_QUIRK_QUICK_WAKEUP }, { 0x14, ETP_PRODUCT_ID_MAGPIE, ETP_QUIRK_QUICK_WAKEUP }, { 0x14, ETP_PRODUCT_ID_BOBBA, ETP_QUIRK_QUICK_WAKEUP }, + { 0x0D, ETP_PRODUCT_ID_WHITEBOX, ETP_QUIRK_QUICK_WAKEUP },
I reordered this and the above so the entries are sorted properly and applied.
Thanks.
Signature · 1 line
Dmitry