]> 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)
commitb7be0612854b5d7b1d4b5c6675d030557f3754cc
tree02f2ccd31831cd577b3baa9ee98cc719c1964165
parent5315422ba74cd601962a197f17ddb588b5a059ae
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