From 06ca994c43eb409e8e7e02986601e5b6161cd10a Mon Sep 17 00:00:00 2001 From: zhaoyuan Date: Mon, 21 Dec 2015 11:14:05 +0800 Subject: 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 --- include/linux/input/synaptics_dsx_v2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 include/linux/input/synaptics_dsx_v2.h (limited to 'include/linux/input') diff --git a/include/linux/input/synaptics_dsx_v2.h b/include/linux/input/synaptics_dsx_v2.h old mode 100755 new mode 100644 index 13e8ae3df62e..9df212c3cdfe --- 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 * Copyright (C) 2012 Scott Lin - * 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; }; -- cgit v1.2.3