]> 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)
commitb2168810b46fde07642a2cb94b40d08b9951eab0
tree9a5b815b2c4a6a9db98078946e82683958cbed9d
parentf3138ce0ec44ccd7d96f55387002e19cfd8d39de
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: 4585f4b2aa57 ("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