Commit c722839c authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

bcma: implement disabling PLLs

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 93ecbd64
...@@ -104,7 +104,13 @@ void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) ...@@ -104,7 +104,13 @@ void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on)
if (i) if (i)
bcma_err(core->bus, "PLL enable timeout\n"); bcma_err(core->bus, "PLL enable timeout\n");
} else { } else {
bcma_warn(core->bus, "Disabling PLL not supported yet!\n"); /*
* Mask the PLL but don't wait for it to be disabled. PLL may be
* shared between cores and will be still up if there is another
* core using it.
*/
bcma_mask32(core, BCMA_CLKCTLST, ~req);
bcma_read32(core, BCMA_CLKCTLST);
} }
} }
EXPORT_SYMBOL_GPL(bcma_core_pll_ctl); EXPORT_SYMBOL_GPL(bcma_core_pll_ctl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment