clk: clk-gpio: Request GPIO descriptor as LOW
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 24 Sep 2017 16:19:19 +0000 (18:19 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 2 Nov 2017 08:20:40 +0000 (01:20 -0700)
commit1b5d1a58a51324b1b6c851abec3bf40bd539cbb2
tree901642f1469ebecd7b55ad74e2e12c95c1860f6d
parent908a543ac7cdf3aa8a283ec42cab3c16e2fc45a2
clk: clk-gpio: Request GPIO descriptor as LOW

Requesting the GPIOD_OUT_LOW low will make sure the GPIO is
deasserted when requested. The gpiolib core will make sure that
if the GPIO line is active low, it will be logically driven high
when deasserted, see drivers/gpiolib.c gpiod_configure_flags().

Cc: Sergej Sawazki <ce3a@gmx.de>
Cc: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-gpio.c