]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Fetch enable gpiods nonexclusive
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2018 09:02:40 +0000 (11:02 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Oct 2018 09:48:59 +0000 (10:48 +0100)
commitb66689032af85a64c7749b46e51955e92e6e731a
tree8ed6cf3aaf31a9a053c8b2151e9bfbcde6a5a965
parent9b516d1bfb0d78087eda350b0ce648a169edac42
regulator: Fetch enable gpiods nonexclusive

Since the core regulator code is treating GPIO descriptors as
nonexclusive, i.e. it assumes that the enable GPIO line may be
shared with several regulators, let's add the flag introduced
for fixing this problem on fixed regulators to all drivers
fetching GPIO descriptors to avoid possible regressions.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/arizona-ldo1.c
drivers/regulator/da9211-regulator.c
drivers/regulator/lm363x-regulator.c
drivers/regulator/lp8788-ldo.c
drivers/regulator/max8952.c
drivers/regulator/max8973-regulator.c
drivers/regulator/s5m8767.c
drivers/regulator/tps65090-regulator.c