]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: wdt87xx_i2c - change the sleep time to 2500ms after the sw reset
authorHungNien Chen <hn.chen@weidahitech.com>
Sun, 12 Jul 2015 00:30:19 +0000 (17:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 12 Jul 2015 06:26:33 +0000 (23:26 -0700)
commit339d6b88e872f8369495a7224916a4d1d8376ca3
treeb10b9fe6351ed168da7b4b8238826da148c24507
parentd5ebe37e8cded781bb91ac63dda2da180ecb90b6
Input: wdt87xx_i2c - change the sleep time to 2500ms after the sw reset

The original wait time was 200ms which was enough for the firmware to
finish loading and boot. After that the firmware will perform
initialization and touch calibration, which will take about 1.1 second. The
touch calibration will change controller frequency to scan at the most
optimal frequency and during calibration/frequency switching process we may
run into i2c data errors. To avoid them we extend the sleep to 2500ms after
issuing the sw reset.

Signed-off-by: HungNien Chen <hn.chen@weidahitech.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wdt87xx_i2c.c