regulator: core: Use ww_mutex for regulators locking

Wait/wound mutex shall be used in order to avoid lockups on locking of
coupled regulators.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Suggested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Dmitry Osipenko 2018-11-19 00:56:17 +03:00 • committed by Mark Brown
commit f8702f9e4a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
5 changed files with 317 additions and 104 deletions