]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Don't allow to get regulator until all couples resolved
authorDmitry Osipenko <digetx@gmail.com>
Fri, 5 Oct 2018 15:36:31 +0000 (18:36 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 8 Nov 2018 12:41:10 +0000 (12:41 +0000)
commitda4f7a44ad6c3bc761c0ac05baa26b3c06548ee9
tree65f5c35a2604a0492508b57c35ba56220f4745b6
parent80a9d728c811a4a4150a25aa4652735efd79af53
regulator: core: Don't allow to get regulator until all couples resolved

Don't allow to get regulator until all of its couples resolved because
consumer will get EPERM and coupling shall be transparent for the drivers.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c