]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2860a9e8521027815fc32ed953cd9e83c10484fd
treee4db44911c9ef07aa7e65aa47fd297c084a2269f
parentce749e64a0bfd486dadebd6db3c303c686c15391
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: 75ff9e918f1c ("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