Input: ad7877 - switch to using threaded IRQ
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 16:24:22 +0000 (09:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 16:35:13 +0000 (09:35 -0700)
commitb534422b2d1189740c6144c3c7a296be89f581c7
tree6c0afd800547209aa715be93216bf2b0cdd1c109
parent2fd18abad179b11cbd881f2bd271b193ababfb65
Input: ad7877 - switch to using threaded IRQ

Instead of using asynchronous SPI API and then spinning waiting for SPI
transfer to complete when disabling the device, let's use threaded IRQ
model and spi_sync().

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ad7877.c