blob: 93de541dc0f758512814e87d3abdb82f57cdfdb4 [file] [log] [blame]
From 45ecf109bd0fc828392355cb27b730ece8e03006 Mon Sep 17 00:00:00 2001
From: Esther Shimanovich <eshimanovich@google.com>
Date: Thu, 19 Sep 2024 20:54:56 +0000
Subject: [PATCH] CHROMIUM: HID: multitouch: skip driver reset for elantech
touchpad
There is another elantech touchpad which fails on resume due to the
mt_reset function. Skip the driver reset for this particular touchpad.
BUG=b:362576581
TEST=`emerge-reven chromeos-kernel-6_6`
TEST=`update_kernel.sh --remote=$dut_ip`
TEST=verify the touchpad works after resuming from sleep
UPSTREAM-TASK=b:298170707
Change-Id: I9873dec2af12c00e94a7c12545fbc3d742e10a11
Signed-off-by: Esther Shimanovich <eshimanovich@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5876781
Reviewed-by: Jonathan Denose <jdenose@google.com>
---
drivers/hid/hid-multitouch.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 505cbffb4d6e3fce6c71ae3f1d0380720e8047ed..ec67a423358b6bd1a1f24119655a3da77ac97ba7 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -2334,6 +2334,9 @@ static const struct hid_device_id mt_devices[] = {
{ .driver_data = MT_CLS_WIN_8_SKIP_RESET,
HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
USB_VENDOR_ID_ELAN, 0x30c1) },
+ { .driver_data = MT_CLS_WIN_8_SKIP_RESET,
+ HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
+ USB_VENDOR_ID_ELAN, 0x3082) },
/* Zinitix devices */
{ .driver_data = MT_CLS_WIN_8_SKIP_RESET,
HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH_WIN_8,
--
2.47.0.199.ga7371fff76-goog