diff options
author | Yen-Chao Chen <davidycchen@google.com> | 2023-05-10 16:19:00 +0800 |
---|---|---|
committer | Yen-Chao Chen <davidycchen@google.com> | 2023-05-10 09:30:54 +0000 |
commit | f1c9ce28930740047916c15a5e90e9727232e7cc (patch) | |
tree | 3597b04afdeada4bf4cf0e86102ef6be0a0e7e45 | |
parent | 816f25f6bc82bf066db3a7ede94df85e0754db71 (diff) | |
download | goodix_touch-f1c9ce28930740047916c15a5e90e9727232e7cc.tar.gz |
goodix: move IRQ wakelock to GTI
Bug: 281463326
Test: Put fingers on the screen and suspend/resume the device.
Change-Id: Ifcd26f180ec44c02be38822842e420e765619638
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
-rw-r--r-- | goodix_ts_core.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/goodix_ts_core.c b/goodix_ts_core.c index 3c40a78..78ba1f0 100644 --- a/goodix_ts_core.c +++ b/goodix_ts_core.c @@ -1829,14 +1829,6 @@ static irqreturn_t goodix_ts_threadirq_func(int irq, void *data) struct goodix_ts_esd *ts_esd = &core_data->ts_esd; int ret; -#if IS_ENABLED(CONFIG_GOOG_TOUCH_INTERFACE) && IS_ENABLED(CONFIG_GTI_PM) - ret = goog_pm_wake_lock(core_data->gti, GTI_PM_WAKELOCK_TYPE_IRQ, true); - if(ret < 0) { - ts_info("Error while obtaing IRQ wakelock: %d!\n", ret); - return IRQ_HANDLED; - } -#endif - /* [GOOG] * Remove the control to enable/disable the interrupt for bottom-half. disable_irq_nosync(core_data->irq); @@ -1887,10 +1879,6 @@ static irqreturn_t goodix_ts_threadirq_func(int irq, void *data) enable_irq(core_data->irq); */ -#if IS_ENABLED(CONFIG_GOOG_TOUCH_INTERFACE) && IS_ENABLED(CONFIG_GTI_PM) - goog_pm_wake_unlock_nosync(core_data->gti, GTI_PM_WAKELOCK_TYPE_IRQ); -#endif - return IRQ_HANDLED; } |