linux/drivers/clk/pxa
Robert Jarzmik 48f8d0f5a4 clk: pxa: pxa3xx: fix CKEN register access
commit b93028c9af upstream.

Clocks 0 to 31 are on CKENA, and not CKENB. The clock register names
were inadequately inverted. As a consequence, all clock operations were
happening on CKENB, because almost all but 2 clocks are on CKENA.

As the clocks were activated by the bootloader in the former tests, it
escaped the testing that the wrong clock gate was manipulated. The error
was revealed by changing the pxa3xx-nand driver to a module, where upon
unloading, the wrong clock was disabled in CKENB.

Fixes: 9bbb8a338f ("clk: pxa: add pxa3xx clock driver")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-09-13 09:07:38 -07:00
..
clk-pxa.c clk: Replace explicit clk assignment with __clk_hw_set_clk 2015-02-18 09:40:11 -08:00
clk-pxa.h clk: don't use __initconst for non-const arrays 2015-04-12 17:18:27 -07:00
clk-pxa3xx.c clk: pxa: pxa3xx: fix CKEN register access 2015-09-13 09:07:38 -07:00
clk-pxa25x.c clk: add pxa25x clock drivers 2014-11-17 11:20:55 -08:00
clk-pxa27x.c Merge branch 'clk-fixes' into clk-next 2014-11-24 17:45:33 -08:00
Makefile clk: pxa: add pxa3xx clock driver 2015-01-27 17:03:52 -08:00