linux/drivers/input
Bernhard Bender 15d6dd8f74 Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen
commit 968491709e 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-10 12:20:30 -07:00
..
gameport
joystick Input: xpad - use proper endpoint type 2014-12-06 15:05:49 -08:00
keyboard Input: atkbd - do not try 'deactivate' keyboard on any LG laptops 2014-10-05 14:54:12 -07:00
misc
mouse Input: elantech - fix detection of touchpads where the revision matches a known rate 2015-06-22 16:55:52 -07:00
serio Input: i8042 - add noloop quirk for Medion Akoya E7225 (MD98857) 2015-02-05 22:35:36 -08:00
tablet Input: wacom - make sure touch_max is set for touch devices 2014-03-31 09:58:14 -07:00
touchscreen Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen 2015-08-10 12:20:30 -07:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-mt.c
input-polldev.c
input.c Input: fix defuzzing logic 2014-07-31 12:53:50 -07:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix race when creating mixed device 2014-04-03 12:01:04 -07:00
sparse-keymap.c