clk: ast2600: Fix enabling of clocks
authorJoel Stanley <joel@jms.id.au>
Wed, 16 Oct 2019 13:13:19 +0000 (23:43 +1030)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Oct 2019 23:40:21 +0000 (16:40 -0700)
commit427400fc5c1988245827bacb0dfba0214f153a2f
treee4db44911c9ef07aa7e65aa47fd297c084a2269f
parent658fd65cf0b0d511de1718e48d9a28844c385ae0
clk: ast2600: Fix enabling of clocks

The struct clk_ops enable callback for the aspeed gates mixes up the set
to clear and write to set registers.

Fixes: d3d04f6c330a ("clk: Add support for AST2600 SoC")
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lkml.kernel.org/r/20191016131319.31318-1-joel@jms.id.au
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-ast2600.c