summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorzhaoyuan <yzhao@codeaurora.org>2015-12-21 11:14:05 +0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:21:52 -0700
commit06ca994c43eb409e8e7e02986601e5b6161cd10a (patch)
tree57fc4b2278368773419e0affdaabe38f22df9a66 /include/linux
parent8370118f626dd21fd9ffcf5271f53dc0ba2df2e7 (diff)
input: synaptics: defer touch resume to workqueue
During device resume, the touch resume function is called after display resume. Touch resume function will take about >200ms. Defer the touch resume function to a workqueue to reduce the total device resume time. An optional DT property is added to enable this on targets that need this feature. Change-Id: Ia9b055144c5a7f29f0f0d57428cccbe15a7d7a87 Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--[-rwxr-xr-x]include/linux/input/synaptics_dsx_v2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/input/synaptics_dsx_v2.h b/include/linux/input/synaptics_dsx_v2.h
index 13e8ae3df62e..9df212c3cdfe 100755..100644
--- a/include/linux/input/synaptics_dsx_v2.h
+++ b/include/linux/input/synaptics_dsx_v2.h
@@ -5,7 +5,7 @@
*
* Copyright (C) 2012 Alexandra Chin <alexandra.chin@tw.synaptics.com>
* Copyright (C) 2012 Scott Lin <scott.lin@tw.synaptics.com>
- * Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -101,6 +101,7 @@ struct synaptics_dsx_board_data {
bool disable_gpios;
bool detect_device;
bool bypass_packrat_id_check;
+ bool resume_in_workqueue;
const char *fw_name;
};