]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyttsp - set abs params for ABS_MT_TOUCH_MAJOR
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 10 Apr 2021 07:33:46 +0000 (00:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Apr 2021 07:46:09 +0000 (00:46 -0700)
commitc4c852db6638ffda4d8003398b28cc04432cc56d
tree194efcf2ce5fc6def4cba8e8047f4f0080d8eb0f
parentf6b7beac88d29339da85e8b52be2813787d5875c
Input: cyttsp - set abs params for ABS_MT_TOUCH_MAJOR

The driver is certainly reporting pressure in cyttsp_report_tchdata()
with input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); so we should
also advertise this capability.

Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210408131153.3446138-8-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_core.c