linux-stable/drivers/input
Philipp Zabel e623ca6cc3 Input: edt-ft5x06 - work around first register access error
[ Upstream commit e112324cc0 ]

The EP0700MLP1 returns bogus data on the first register read access
(reading the threshold parameter from register 0x00):

    edt_ft5x06 2-0038: crc error: 0xfc expected, got 0x40

It ignores writes until then. This patch adds a dummy read after which
the number of sensors and parameter read/writes work correctly.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-28 16:36:03 +01:00
..
gameport License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
joystick Input: Fix memory leak in psxpad_spi_probe 2019-12-17 20:38:48 +01:00
keyboard Input: nomadik-ske-keypad - fix a loop timeout test 2020-01-27 14:46:09 +01:00
misc Input: pm8xxx-vib - fix handling of separate enable register 2020-01-29 15:02:38 +01:00
mouse Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list 2020-02-28 16:35:51 +01:00
rmi4 Revert "Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers" 2020-01-29 15:02:37 +01:00
serio parisc: Fix HP SDC hpa address output 2019-12-05 15:37:11 +01:00
tablet Input: pegasus_notetaker - fix endpoint sanity check 2020-01-29 15:02:38 +01:00
touchscreen Input: edt-ft5x06 - work around first register access error 2020-02-28 16:36:03 +01:00
apm-power.c
evbug.c
evdev.c
ff-core.c Input: uinput - avoid FF flush when destroying device 2017-09-21 16:31:22 -07:00
ff-memless.c Input: ff-memless - kill timer in destroy() 2019-11-20 17:59:28 +01:00
input-compat.c
input-compat.h
input-leds.c Input: leds - fix out of bound access 2018-05-09 09:51:51 +02:00
input-mt.c
input-polldev.c
input.c Input: add safety guards to input_set_keycode() 2020-01-14 20:05:44 +01:00
joydev.c Input: joydev - blacklist ds3/ds4/udraw motion sensors 2017-10-19 16:55:39 -07:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
matrix-keymap.c
mousedev.c
sparse-keymap.c Input: sparse-keymap - send sync event for KE_SW/KE_VSW 2017-11-03 12:47:48 -07:00