Commit c722839cc856cee5f7f1bb833a0f36c86d0bbe8f
Committed by
John W. Linville
1 parent
93ecbd64ef
bcma: implement disabling PLLs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff
drivers/bcma/core.c
... | ... | @@ -104,7 +104,13 @@ |
104 | 104 | if (i) |
105 | 105 | bcma_err(core->bus, "PLL enable timeout\n"); |
106 | 106 | } else { |
107 | - bcma_warn(core->bus, "Disabling PLL not supported yet!\n"); | |
107 | + /* | |
108 | + * Mask the PLL but don't wait for it to be disabled. PLL may be | |
109 | + * shared between cores and will be still up if there is another | |
110 | + * core using it. | |
111 | + */ | |
112 | + bcma_mask32(core, BCMA_CLKCTLST, ~req); | |
113 | + bcma_read32(core, BCMA_CLKCTLST); | |
108 | 114 | } |
109 | 115 | } |
110 | 116 | EXPORT_SYMBOL_GPL(bcma_core_pll_ctl); |