aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-04-28 20:18:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-05-16 12:45:22 -0400
commit0b2948eeb128e259b7903b12de79d6886d43eb11 (patch)
tree70962d288f9765b54a7626b9da0959a39bca8691
parente2da4bd3ec7842fbef2bc7bffde3e1ad0c15f516 (diff)
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 <hauke@hauke-m.de> Tested-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/bcma/core.c2
1 files changed, 1 insertions, 1 deletions
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,
77 pr_err("HT force timeout\n"); 77 pr_err("HT force timeout\n");
78 break; 78 break;
79 case BCMA_CLKMODE_DYNAMIC: 79 case BCMA_CLKMODE_DYNAMIC:
80 pr_warn("Dynamic clockmode not supported yet!\n"); 80 bcma_set32(core, BCMA_CLKCTLST, ~BCMA_CLKCTLST_FORCEHT);
81 break; 81 break;
82 } 82 }
83} 83}