]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: chromeos_laptop: fix touchpad button mapping on Celes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 May 2018 19:06:59 +0000 (12:06 -0700)
committerBenson Leung <bleung@chromium.org>
Tue, 29 May 2018 22:11:04 +0000 (15:11 -0700)
commit81de8cf36c2fc5a3b27f64564c6edc6739521d63
treedd581a841fa99065732255c88d5b463303b1c33f
parentcb6a410a72e974c1e1aa5817a20faf1732426cc2
platform/chrome: chromeos_laptop: fix touchpad button mapping on Celes

Celes has newer touch controller (compared to the controllers used in
older BayTrail-based devices) and so uses the same button mapping as
Samus.

This fixes the issue with mouse button being stuck in pressed state
after the first click.

Reported-by: Sultan Alsawaf <sultanxda@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/chromeos_laptop.c