diff options
author | Hunk Lin <hulin@nvidia.com> | 2014-01-04 17:44:50 -0800 |
---|---|---|
committer | Tom Cherry <tcherry@nvidia.com> | 2014-01-22 16:02:48 -0800 |
commit | e9a88ebbafbbd1fa349ccbdff5d5271450a6cba6 (patch) | |
tree | c913c82a24a09b8db178b9ff3995af4f34d2a6c2 /drivers/input/touchscreen/rm31080a_ts.c | |
parent | 4ce4dfd19c1c75860e9900a54757924feb98d34c (diff) |
input: touch: Raydium: change to deferrable timer
Set the timer to deferrable. So it will reduce CPU wakeups.
Bug 1434388
Change-Id: I1e3bd08f9f299d73538cb5487cd434e128c75763
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/352019
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/rm31080a_ts.c')
-rw-r--r-- | drivers/input/touchscreen/rm31080a_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ts.c b/drivers/input/touchscreen/rm31080a_ts.c index 6a08a7a5d253..9c846e9d2e5b 100644 --- a/drivers/input/touchscreen/rm31080a_ts.c +++ b/drivers/input/touchscreen/rm31080a_ts.c @@ -3114,7 +3114,7 @@ static const struct rm_tch_bus_ops rm_tch_spi_bus_ops = { static void init_ts_timer(void) { - init_timer(&ts_timer_triggle); + init_timer_deferrable(&ts_timer_triggle); ts_timer_triggle.function = ts_timer_triggle_function; ts_timer_triggle.data = ((unsigned long) 0); ts_timer_triggle.expires = jiffies + TS_TIMER_PERIOD; |