Input: wm831x-ts - move BTN_TOUCH reporting to data transfer
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 28 Apr 2011 06:09:26 +0000 (23:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 28 Apr 2011 06:12:22 +0000 (23:12 -0700)
commitbf283707d5fb174ec09215ae19860ad04ba7b67a
treed8e53d6880713b916dc0cc0b5d8d4f96985213f3
parentacad9853b95df6a3887f52e0ec88e4a77119ee28
Input: wm831x-ts - move BTN_TOUCH reporting to data transfer

Don't report BTN_TOUCH until we've got data as some less robust applications
can be confused by getting a touch event by itself and it doesn't seem
unreasonable for them to expect coordinates along with a touch.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wm831x-ts.c