]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elants_i2c - report resolution of ABS_MT_TOUCH_MAJOR by FW information.
authorJohnny Chuang <johnny.chuang.emc@gmail.com>
Mon, 14 Sep 2020 06:35:27 +0000 (23:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 14 Sep 2020 06:41:00 +0000 (23:41 -0700)
commit435108e3c3d82372cd0e38226939ea3c68a5947c
treef9d084e75a3db91f37f25984e828daa1a87dea7f
parent5d90938b7ff7f8d9aa0be60e495723f54ba5d349
Input: elants_i2c - report resolution of ABS_MT_TOUCH_MAJOR by FW information.

This patch adds a new behavior to report touch major resolution
based on information provided by firmware.

In initial process, driver acquires touch information from touch ic.
It contains one byte about the resolution value of ABS_MT_TOUCH_MAJOR.
Touch driver will report touch major resolution by this information.

Signed-off-by: Johnny Chuang <johnny.chuang.emc@gmail.com>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Link: https://lore.kernel.org/r/1598581195-9874-1-git-send-email-johnny.chuang.emc@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c