]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: ideapad-laptop: Disable touchpad_switch
authorManyi Li <limanyi@uniontech.com>
Tue, 18 Oct 2022 09:53:23 +0000 (17:53 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 7 Nov 2022 11:33:49 +0000 (12:33 +0100)
commita231224a601c1924b9df620281ad04472900d75f
treeb4d81b797c9203c2ba437bb88a4a9210a2549439
parentf46acc1efd4b5846de9fa05f966e504f328f34a6
platform/x86: ideapad-laptop: Disable touchpad_switch

Ideapads for "Lenovo Yoga 3 Pro 1370" and "ZhaoYang K4e-IML" do not
use EC to switch touchpad.

Reading VPCCMD_R_TOUCHPAD will return zero thus touchpad may be blocked
unexpectedly.

Signed-off-by: Manyi Li <limanyi@uniontech.com>
Link: https://lore.kernel.org/r/20221018095323.14591-1-limanyi@uniontech.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/ideapad-laptop.c