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

Skip to content
Commit cca00cb0 authored by Oliver Wang's avatar Oliver Wang
Browse files

input: sensor: fix data polling continues even resume fails



The data polling would continues if device resume fails. The
previous logic will free the input device in this condition.
But the polling thread used it without checking and this will
cause the kernel crash.

CRs-fixed: 575581
Change-Id: I88f862e2447b808fecab70d32599c68eceec90eb
Signed-off-by: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 76ccdc74
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