|
@@ -3026,6 +3026,11 @@ static int fts_ts_suspend(struct device *dev)
|
|
FTS_ERROR("power enter suspend fail");
|
|
FTS_ERROR("power enter suspend fail");
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
+ } else {
|
|
|
|
+#if FTS_PINCTRL_EN
|
|
|
|
+ fts_pinctrl_select_suspend(ts_data);
|
|
|
|
+#endif
|
|
|
|
+ gpio_direction_output(ts_data->pdata->reset_gpio, 0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3073,9 +3078,14 @@ static int fts_ts_resume(struct device *dev)
|
|
#if FTS_POWER_SOURCE_CUST_EN
|
|
#if FTS_POWER_SOURCE_CUST_EN
|
|
fts_power_source_resume(ts_data);
|
|
fts_power_source_resume(ts_data);
|
|
#endif
|
|
#endif
|
|
- fts_reset_proc(200);
|
|
|
|
|
|
+ } else {
|
|
|
|
+#if FTS_PINCTRL_EN
|
|
|
|
+ fts_pinctrl_select_normal(ts_data);
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ fts_reset_proc(200);
|
|
|
|
+
|
|
fts_wait_tp_to_valid();
|
|
fts_wait_tp_to_valid();
|
|
fts_ex_mode_recovery(ts_data);
|
|
fts_ex_mode_recovery(ts_data);
|
|
|
|
|