summaryrefslogtreecommitdiff
path: root/goodix_ts_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'goodix_ts_core.c')
-rw-r--r--goodix_ts_core.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c
index b4a8c7f..e42836c 100644
--- a/goodix_ts_core.c
+++ b/goodix_ts_core.c
@@ -2672,7 +2672,11 @@ static int goodix_ts_resume(struct goodix_ts_core *core_data)
goodix_set_pinctrl_state(core_data, PINCTRL_MODE_ACTIVE);
atomic_set(&core_data->suspended, 0);
- hw_ops->irq_enable(core_data, false);
+ /* [GOOG]
+ * This will cause a deadlock with wakelock. Since we already disable irq
+ * when touch is suspended, we don't need to disable irq here again.
+ */
+ //hw_ops->irq_enable(core_data, false);
mutex_lock(&goodix_modules.mutex);
if (!list_empty(&goodix_modules.head)) {