Przeglądaj źródła

MIPS: lantiq: falcon clocks were not enabled properly

As a result of a non populated ->bits field inside the clock struct, the clock
domains were never powered on the Falcon. Until now we only used domains that
were also used and powered by the bootloader.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4234/
John Crispin 13 lat temu
rodzic
commit
3a6ac5004c
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      arch/mips/lantiq/falcon/sysctrl.c

+ 1 - 0
arch/mips/lantiq/falcon/sysctrl.c

@@ -171,6 +171,7 @@ static inline void clkdev_add_sys(const char *dev, unsigned int module,
 	clk->cl.con_id = NULL;
 	clk->cl.clk = clk;
 	clk->module = module;
+	clk->bits = bits;
 	clk->activate = sysctl_activate;
 	clk->deactivate = sysctl_deactivate;
 	clk->enable = sysctl_clken;