diff options
| author | Jiaxun Yang <[email protected]> | 2021-01-07 14:44:38 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-01-13 09:23:33 +0000 |
| commit | d69cd7eea93eb59a93061beeb43e4f5e19afc4ea (patch) | |
| tree | 357cb55b31e02dbba6f2f90a1c75f22e4a5f6595 /drivers/platform/surface/aggregator/ssh_request_layer.c | |
| parent | platform/surface: Add Surface ACPI Notify driver (diff) | |
| download | kernel-d69cd7eea93eb59a93061beeb43e4f5e19afc4ea.tar.gz kernel-d69cd7eea93eb59a93061beeb43e4f5e19afc4ea.zip | |
platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634
Newer ideapads (e.g.: Yoga 14s, 720S 14) come with ELAN0634 touchpad do not
use EC to switch touchpad.
Reading VPCCMD_R_TOUCHPAD will return zero thus touchpad may be blocked
unexpectedly.
Writing VPCCMD_W_TOUCHPAD may cause a spurious key press.
Add has_touchpad_switch to workaround these machines.
Signed-off-by: Jiaxun Yang <[email protected]>
Cc: [email protected] # 5.4+
--
v2: Specify touchpad to ELAN0634
v3: Stupid missing ! in v2
v4: Correct acpi_dev_present usage (Hans)
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions
