]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mvebu: armada-37xx-periph: Fix the clock gate flag
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 30 Sep 2016 08:33:59 +0000 (10:33 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 17 Oct 2016 22:35:10 +0000 (15:35 -0700)
commit52bc16c6773ecfa03b5087aac79b89f7b3968891
treeb2bf9c4c519e0ff4ba28e75863b760391f2427f1
parent0eef06988f86a9fa9d21ae3e77ad1a54bc144792
clk: mvebu: armada-37xx-periph: Fix the clock gate flag

For the gate part of the peripheral clock setting the bit disables the
clock and clearing it enables the clock. This is not the default behavior
of clk_gate component, so we need to use the CLK_GATE_SET_TO_DISABLE flag.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Fixes: e94c8ffb8b95 ("clk: mvebu: Add the peripheral clock driver for Armada 3700")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mvebu/armada-37xx-periph.c