Input: atmel_mxt_ts - make wait-after-reset period compatible with all chips
authorIiro Valkonen <iiro.valkonen@atmel.com>
Mon, 19 May 2014 06:03:44 +0000 (23:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 May 2014 06:27:25 +0000 (23:27 -0700)
commita4a2ef462a5fb3a2d66cbf98dab124f34926f6bb
tree7bfc79e513e11a0090fd9eb83845ecdd83937dcf
parenta0434b751d0a2cc29d264f26a48962c1648aac10
Input: atmel_mxt_ts - make wait-after-reset period compatible with all chips

The delay before the chip can be accessed after reset varies between
different chips in maXTouch family. Waiting for an interrupt and a T6
status message with the RESET bit set is a better behaviour.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c