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:
Iliyan Malchev <malchev@google.com>
Loading
Please sign in to comment