From: Hauke Mehrtens Date: Sun, 29 Apr 2012 00:18:49 +0000 (+0200) Subject: bcma: implement setting core clock mode to dynamic X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0b2948eeb128e259b7903b12de79d6886d43eb11;p=linux-beck.git bcma: implement setting core clock mode to dynamic This patch is based on code from _ai_clkctl_cc() in brcmsmac. Signed-off-by: Hauke Mehrtens Tested-by: Arend van Spriel Signed-off-by: John W. Linville --- diff --git a/drivers/bcma/core.c b/drivers/bcma/core.c index 893f6e0c759f..98e243cd0479 100644 --- a/drivers/bcma/core.c +++ b/drivers/bcma/core.c @@ -77,7 +77,7 @@ void bcma_core_set_clockmode(struct bcma_device *core, pr_err("HT force timeout\n"); break; case BCMA_CLKMODE_DYNAMIC: - pr_warn("Dynamic clockmode not supported yet!\n"); + bcma_set32(core, BCMA_CLKCTLST, ~BCMA_CLKCTLST_FORCEHT); break; } }