]> 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)
commit6e627c88522403dc67a1b6b269c095390a1474b5
tree8ed6cf3aaf31a9a053c8b2151e9bfbcde6a5a965
parent0896ed1ad52dde15c55d6eecb6f4f2b4fb9b7fe8
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