mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
input: touchscreen: st: cancel pending firmware update
Cancel pending firmware delayed work during the disable sequence since hardware is already released to PVM. Change-Id: Ie66c4a5dfe81219e034ae1aea01c0e2a76fa4903 Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
This commit is contained in:
parent
92efb2ac5a
commit
7a0ea40cb7
1 changed files with 2 additions and 0 deletions
|
|
@ -581,6 +581,8 @@ static void fts_trusted_touch_tvm_vm_mode_disable(struct fts_ts_info *info)
|
|||
fts_trusted_touch_abort_tvm(info);
|
||||
return;
|
||||
}
|
||||
/* cancel firmware update work if pending */
|
||||
cancel_delayed_work_sync(&info->fwu_work);
|
||||
|
||||
fts_interrupt_disable(info);
|
||||
fts_trusted_touch_set_tvm_driver_state(info,
|
||||
|
|
|
|||
Loading…
Reference in a new issue