Input: ucb1400_ts - fix suspend and resume handling
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 1 Sep 2017 01:23:11 +0000 (18:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Sep 2017 21:23:56 +0000 (14:23 -0700)
commit39467fc1054a91efa697162a94e5b0e1a4b7b580
tree28bdfd6bd1389e2828663f8baaa02dddea20b821
parent47014752829ed1b52fa6f876b381774ae530503c
Input: ucb1400_ts - fix suspend and resume handling

Instead of stopping the touchscreen we were starting it in suspend, and
disabling it in resume.

Fixes: c899afedf168 ("Input: ucb1400_ts - convert to threaded IRQ")
Reported-by: Anton Volkov <avolkov@ispras.ru>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ucb1400_ts.c