]> git.baikalelectronics.ru Git - kernel.git/commit
Input: stmfts - set IRQ_NOAUTOEN to the irq flag
authorAndi Shyti <andi.shyti@samsung.com>
Tue, 23 Jan 2018 01:32:46 +0000 (17:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Jan 2018 01:35:16 +0000 (17:35 -0800)
commitb840fe08a359087ac8ba564c01583c6682bf712f
tree02f2ccd31831cd577b3baa9ee98cc719c1964165
parent2565a898ad3bb6545b65f59f244f791721a28e27
Input: stmfts - set IRQ_NOAUTOEN to the irq flag

The interrupt is requested before the device is powered on and
it's value in some cases cannot be reliable. It happens on some
devices that an interrupt is generated as soon as requested
before having the chance to disable the irq.

Set the irq flag as IRQ_NOAUTOEN before requesting it.

This patch mutes the error:

  stmfts 2-0049: failed to read events: -11

received sometimes during boot time.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/stmfts.c