Steve Twiss f582136372
regulator: pv88060: Fix notifier mutex lock warning
The mutex for the regulator_dev must be controlled by the caller of
the regulator_notifier_call_chain(), as described in the comment
for that function.

Failure to mutex lock and unlock surrounding the notifier call results
in a kernel WARN_ON_ONCE() which will dump a backtrace for the
regulator_notifier_call_chain() when that function call is first made.
The mutex can be controlled using the regulator_lock/unlock() API.

Fixes: f307a7e9b7af ("regulator: pv88060: new regulator driver")
Suggested-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-03-13 15:12:23 +00:00
..
2019-01-25 13:03:34 -10:00
2019-02-20 11:40:21 -08:00
2019-02-10 10:39:37 -08:00
2019-02-28 14:05:33 +10:00
2019-01-09 19:20:31 -05:00
2019-01-26 11:14:25 +01:00
2019-03-01 09:13:04 -08:00
2019-02-15 09:12:28 -08:00
2019-01-05 11:30:37 -08:00
2019-02-01 15:53:54 +01:00
2019-02-08 15:32:10 -08:00
2019-01-05 11:23:17 -08:00
2019-01-25 12:57:09 -10:00
2019-03-02 11:39:54 -08:00
2019-01-30 11:14:04 +01:00
2019-02-08 10:49:55 -08:00
2019-01-25 12:58:40 -10:00