Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 373205e5 authored by Oliver Wang's avatar Oliver Wang Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 28890934
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment