mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "input: touchscreen: nt36xxx: Cancel pending firmware update"
This commit is contained in:
commit
a854b4941b
1 changed files with 5 additions and 0 deletions
|
|
@ -976,6 +976,11 @@ static int nvt_ts_trusted_touch_pvm_vm_mode_enable(struct nvt_ts_data *ts)
|
|||
struct trusted_touch_vm_info *vm_info = ts->vm_info;
|
||||
|
||||
atomic_set(&ts->trusted_touch_underway, 1);
|
||||
|
||||
#if BOOT_UPDATE_FIRMWARE
|
||||
if (nvt_fwu_wq)
|
||||
cancel_delayed_work_sync(&ts->nvt_fwu_work);
|
||||
#endif
|
||||
/* i2c session start and resource acquire */
|
||||
if (nvt_ts_bus_get(ts) < 0) {
|
||||
pr_err("nvt_ts_bus_get failed\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue