input: ti_am335x_tsc: Enable shared IRQ for TSC
authorZubair Lutfullah <zubair.lutfullah@gmail.com>
Thu, 19 Sep 2013 06:24:00 +0000 (07:24 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 21 Sep 2013 10:47:09 +0000 (11:47 +0100)
commitbaee539915e9e89bdebb369229bc0684c86feac2
tree8de81886f89d873dcc96bc584e38c689dafd4090
parent42877236160baaa785cfdcb281a653a012c82a2b
input: ti_am335x_tsc: Enable shared IRQ for TSC

Enable shared IRQ to allow ADC to share IRQ line from
parent MFD core. Only FIFO0 IRQs are for TSC and handled
on the TSC side.

Step mask would be updated from cached variable only previously.
In rare cases when both TSC and ADC are used, the cached
variable gets mixed up.
The step mask is written with the required mask every time.

Rachna Patil (TI) laid ground work for shared IRQ.

Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/input/touchscreen/ti_am335x_tsc.c