input: sensors: add ap3426 queue_work return value check
queue_work returns false if work was already on a queue. The work
won't get chance to run in that case. Add queue_work return value
check to fix ap3426 driver may hold a wake lock forever on race
conditions.
Change-Id: I43441e2db535af9155d3b62596e9590f7c23aa11
Signed-off-by:
Oliver Wang <mengmeng@codeaurora.org>
Loading
Please register or sign in to comment