]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: Default-enable SPU clock for SH7724.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 5 Nov 2009 05:06:36 +0000 (14:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 5 Nov 2009 05:06:36 +0000 (14:06 +0900)
Wanted by the SPU2 UIO driver, which really ought to be handling this
itself. Default enable it for now, until the driver gets a bit more
intelligent.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/clock-sh7724.c

index dfe9192be63e587ba1a66f34e0c03f4deaf0c60a..9db743802f06d04afc176d5e6200a206c9673f07 100644 (file)
@@ -152,7 +152,7 @@ struct clk div6_clks[] = {
        SH_CLK_DIV6("fsia_clk", &div3_clk, FCLKACR, 0),
        SH_CLK_DIV6("fsib_clk", &div3_clk, FCLKBCR, 0),
        SH_CLK_DIV6("irda_clk", &div3_clk, IRDACLKCR, 0),
-       SH_CLK_DIV6("spu_clk", &div3_clk, SPUCLKCR, 0),
+       SH_CLK_DIV6("spu_clk", &div3_clk, SPUCLKCR, CLK_ENABLE_ON_INIT),
 };
 
 #define R_CLK (&r_clk)