android_kernel_google_msm/drivers/input
Bernhard Bender 18bf23709e Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen
commit 968491709e5b1aaf429428814fff3d932fa90b60 upstream.

This patch fixes a problem in the usbtouchscreen driver for DMC TSC-30
touch screen.  Due to a missing delay between the RESET and SET_RATE
commands, the touch screen may become unresponsive during system startup or
driver loading.

According to the DMC documentation, a delay is needed after the RESET
command to allow the chip to complete its internal initialization. As this
delay is not guaranteed, we had a system where the touch screen
occasionally did not send any touch data. There was no other indication of
the problem.

The patch fixes the problem by adding a 150ms delay between the RESET and
SET_RATE commands.

Suggested-by: Jakob Mustafa <jakob.mustafa@bytecmed.com>
Signed-off-by: Bernhard Bender <bernhard.bender@bytecmed.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-03-21 09:17:47 +08:00
..
gameport Driver core: driver_find() drops reference before returning 2012-01-24 16:00:34 -08:00
joystick Input: xpad - use proper endpoint type 2015-04-14 17:33:38 +08:00
keyboard Input: allow deselecting serio drivers even without CONFIG_EXPERT 2013-12-11 22:34:11 -08:00
misc mfd: Convert twl6040 to i2c driver, and separate it from twl core 2012-04-16 16:45:34 +02:00
mouse Input: elantech - fix detection of touchpads where the revision matches a known rate 2015-09-18 09:20:44 +08:00
serio Input: I8042 - add Acer Aspire 7738 to the nomux list 2015-04-14 17:33:51 +08:00
tablet Input: wacom - Bamboo One 1024 pressure fix 2012-08-15 08:10:34 -07:00
touchscreen Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen 2016-03-21 09:17:47 +08:00
apm-power.c
evbug.c
evdev.c Merge branch 'next' into for-linus 2012-03-19 17:02:01 -07:00
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-compat.h compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-mt.c
input-polldev.c
input.c Input: allocate absinfo data when setting ABS capability 2014-01-08 09:42:12 -08:00
joydev.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Kconfig Input: mousedev - allow disabling even without CONFIG_EXPERT 2013-12-11 22:34:11 -08:00
Makefile Input: of_keymap - add device tree bindings for simple key matrices 2012-03-13 21:37:04 -07:00
mousedev.c
of_keymap.c Input: of_keymap - add device tree bindings for simple key matrices 2012-03-13 21:37:04 -07:00
sparse-keymap.c