Commit b732fcff authored by Devin Kim's avatar Devin Kim Committed by Iliyan Malchev
Browse files

mako: vibrator: fix unbalanced calling of regulator



Vibrator uses hrtimer and workqueue concurrently for vibrator on/off.  It
sometimes causes the unbalanced calling of regulator. So use mutex to avoid the
unbalanced calling.

Change-Id: I937c331703c0db028abe88967c8256cd56d6f5a5
Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent 88ed122d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment