]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Properly handle case where supply is the couple
authorDmitry Osipenko <digetx@gmail.com>
Sun, 18 Nov 2018 21:56:18 +0000 (00:56 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Nov 2018 12:33:18 +0000 (12:33 +0000)
commita5c6fa5f1f829a3b730978d864a5e4e940649dcb
treeff28312962a161517803bc7431d435288abb5fca
parent206a0af25ab162f2162498fc5fddf7ddf94b2d7d
regulator: core: Properly handle case where supply is the couple

Check whether supply regulator is the couple to avoid infinite recursion
during of locking.

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