]> git.baikalelectronics.ru Git - kernel.git/commit
Input: silead - disable interrupt during suspend
authorHans de Goede <hdegoede@redhat.com>
Fri, 26 May 2017 23:09:48 +0000 (16:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 30 May 2017 02:58:25 +0000 (19:58 -0700)
commit3c022d079e26c6d71f52cf7e306441103f1696bf
tree5a9a685b9d065adc0c9f807604cc4aa2064cce9a
parentb9de73a3f1d65d982b70ec22c624a95d1991f903
Input: silead - disable interrupt during suspend

When we put the touchscreen controller in low-power mode the irq
pin may trigger (float) and if we then try to read a data packet we
get the following error in dmesg:

[  478.801017] silead_ts i2c-MSSL1680:00: Data read error -121

This commit disables the irq during suspend/resume fixing this error.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/silead.c