]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: of: Handle fixed regulator flags properly
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Jun 2018 13:11:41 +0000 (15:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Jul 2018 21:13:31 +0000 (23:13 +0200)
commit7759fcd530f9fd949c2d3f358540595b82ab46e2
tree9a5b815b2c4a6a9db98078946e82683958cbed9d
parentbeb4ed450cde99e7dfbc41549d25fa2ff039b2d9
gpio: of: Handle fixed regulator flags properly

This fixes up the handling of fixed regulator polarity
inversion flags: while I remembered to fix it for the
undocumented "reg-fixed-voltage" I forgot about the
official "regulator-fixed" binding, there are two ways
to do a fixed regulator.

The error was noticed and fixed.

Fixes: 0947f346e2ef ("gpio: of: Add special quirk to parse regulator flags")
Cc: Mark Brown <broonie@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Reported-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c