]> 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)
commit2a3a73dacbe15b217643c5e51e3877903bd2d3b8
tree65f5c35a2604a0492508b57c35ba56220f4745b6
parent71a54f3bd418a97938abaf16e85fcf49e79ecabe
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