UPSTREAM: 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>

BUG=chrome-os-partner:42034, chrome-os-partner:42329
TEST=Build and boot

(cherry picked from commit 339d6b88e872f8369495a7224916a4d1d8376ca3)
 git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
Signed-off-by: HungNien Chen <hn.chen@weidahitech.com>

Change-Id: I88417826a62b4659dc8751a7f7170bdb8e7f42e2
Reviewed-on: https://chromium-review.googlesource.com/286082
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Commit-Queue: Dmitry Torokhov <dtor@chromium.org>
Tested-by: Dmitry Torokhov <dtor@chromium.org>
1 file changed