]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
clk: clk-gpio-gate: Fix active low
authorMartin Fuzzey <mfuzzey@parkeon.com>
Wed, 18 Mar 2015 13:53:17 +0000 (14:53 +0100)
committerMichael Turquette <mturquette@linaro.org>
Sat, 11 Apr 2015 00:45:30 +0000 (17:45 -0700)
commit820ad9752c232239d3278eafe71c2c251ae233d3
tree4facc98b896d43d2f73a4c601345f8cbdb6c090c
parent9a74ccdbbb8fa6302ae1ba606f2ef0c03d3242ab
clk: clk-gpio-gate: Fix active low

The active low flag in the DT cell is currently ignored.

This occurs because of_get_named_gpio_flags() does not apply the flags
to the underlying struct gpio_desc so the test in clk_register_gpio_gate()
was bogus.

Note that this patch changes the internal kernel API for
clk_register_gpio_gate() but there are currently no other users.

Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com>
Acked-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk-gpio-gate.c
include/linux/clk-provider.h