03.09.2020 18:59, Jiada Wang пишет: > From: Nick Dyer <[email protected]> > > Some maXTouch chips (eg mXT1386) will not respond on the first I2C request > when they are in a sleep state. It must be retried after a delay for the > chip to wake up. > > Signed-off-by: Nick Dyer <[email protected]> > Acked-by: Yufeng Shen <[email protected]> > (cherry picked from ndyer/linux/for-upstream commit > 63fd7a2cd03c3a572a5db39c52f4856819e1835d) > [gdavis: Forward port and fix conflicts.] > Signed-off-by: George G. Davis <[email protected]> > [jiada: return exact errno when i2c_transfer & i2c_master_send fails] > Signed-off-by: Jiada Wang <[email protected]> > --- > drivers/input/touchscreen/atmel_mxt_ts.c | 45 ++++++++++++++++-------- > 1 file changed, 30 insertions(+), 15 deletions(-)
Hello, Jiada! Everything works well on Acer A500 tablet device that uses mXT1386 for the touchscreen controller! Thank you very much! Reviewed-by: Dmitry Osipenko <[email protected]> Tested-by: Dmitry Osipenko <[email protected]>

