input: touchscreen: raydium: Disable IRQ at deep sleep entry to avoid deep sleep abort
Add check to differentiate between normal and deep sleep suspend call. Change-Id: I88e23d101197ef9f3f926fb26523f9d651ee11f9 Signed-off-by: Akshay Gola <quic_agola@quicinc.com>
This commit is contained in:
@@ -1380,7 +1380,7 @@ static void raydium_ts_do_suspend(void)
|
||||
|
||||
if (g_u8_raw_data_type == 0)
|
||||
g_u8_resetflag = false;
|
||||
if (g_raydium_ts->is_suspend == 1) {
|
||||
if (g_raydium_ts->is_suspend == 1 && (pm_suspend_via_firmware() == false)) {
|
||||
LOGD(LOG_WARNING, "[touch]Already in suspend state\n");
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user