input: touch: raydium: conditional wakelock calls
Tasks holding wakelocks in raydium driver intermittently obstruct
system from entering suspend state. Added conditional checks while
invoking wakelock functions so as to disable them if needed.
Bug
1314808
Bug
1343545
Change-Id: Ie71ea98661e56f2f50d406ee759b007ac877762a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/247729
(cherry picked from commit
f56a79205a60e0e86b4a0c2e9f3c5d33f22c5a58)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258556
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>