android_kernel_sony_sdm845/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Evan Green d1eafbbbe0 Input: atmel_mxt_ts - disable IRQ across suspend
[ Upstream commit 463fa44eec2fef50d111ed0199cf593235065c04 ]

Across suspend and resume, we are seeing error messages like the following:

atmel_mxt_ts i2c-PRP0001:00: __mxt_read_reg: i2c transfer failed (-121)
atmel_mxt_ts i2c-PRP0001:00: Failed to read T44 and T5 (-121)

This occurs because the driver leaves its IRQ enabled. Upon resume, there
is an IRQ pending, but the interrupt is serviced before both the driver and
the underlying I2C bus have been resumed. This causes EREMOTEIO errors.

Disable the IRQ in suspend, and re-enable it on resume. If there are cases
where the driver enters suspend with interrupts disabled, that's a bug we
should fix separately.

Signed-off-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 13:40:35 +01:00
..
gameport x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
joystick Input: iforce - add sanity checks 2019-08-25 10:51:44 +02:00
keyboard Input: imx_keypad - make sure keyboard can always wake up system 2019-07-21 09:05:54 +02:00
misc Input: da9063 - fix capability and drop KEY_SLEEP 2019-10-29 09:15:20 +01:00
mouse Input: psmouse - fix build error of multiple definition 2019-08-25 10:51:51 +02:00
rmi4 Input: synaptics-rmi4 - destroy F54 poller workqueue when removing 2019-11-25 09:51:56 +01:00
serio parisc: Fix HP SDC hpa address output 2019-12-05 15:34:15 +01:00
tablet Input: kbtab - sanity check for endpoint type 2019-08-25 10:51:44 +02:00
touchscreen Input: atmel_mxt_ts - disable IRQ across suspend 2020-01-04 13:40:35 +01:00
apm-power.c
evbug.c
evdev.c Input: evdev - fix bug in checking duplicate clock change request 2015-10-31 10:35:02 -07:00
ff-core.c Input: document and check on implicitly defined FF_MAX_EFFECTS 2015-10-16 15:32:16 -07:00
ff-memless.c Input: ff-memless - kill timer in destroy() 2019-11-25 09:51:55 +01:00
input-compat.c drivers/input: eliminate INPUT_COMPAT_TEST macro 2016-03-25 16:37:42 -07:00
input-compat.h drivers/input: eliminate INPUT_COMPAT_TEST macro 2016-03-25 16:37:42 -07:00
input-leds.c Input: leds - fix out of bound access 2018-05-09 09:50:20 +02:00
input-mt.c Input: update input_mt_report_pointer_emulation to support hovering 2016-06-01 14:21:10 -07:00
input-polldev.c
input.c Merge branch 'for-linus' into next 2016-07-19 11:02:56 -07:00
joydev.c Input: joydev - recognize devices with Z axis as joysticks 2016-09-26 20:03:06 -07:00
Kconfig Input: synaptics-rmi4 - add support for Synaptics RMI4 devices 2016-03-10 16:02:39 -08:00
Makefile Input: synaptics-rmi4 - add support for Synaptics RMI4 devices 2016-03-10 16:02:39 -08:00
matrix-keymap.c
mousedev.c Input: mousedev - fix implicit conversion warning 2018-04-08 12:12:43 +02:00
sparse-keymap.c