input: atmel_mxt_ts: Fix suspend/resume error paths
Suspend/resume error paths are not properly handled.
This can put touch driver in a bad state. Fix the
error paths to undo all the previous operations before
failure.
CRs-fixed: 563658
Change-Id: I9f7211604a45b6b12ab934efe5c460cc0517fbe0
Signed-off-by:
Mohan Pallaka <mpallaka@codeaurora.org>
Loading
Please register or sign in to comment