projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c586e10
)
bcma: add mdelay bcma_pmu_resources_init()
author
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 29 Jun 2012 23:44:45 +0000
(
01:44
+0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 9 Jul 2012 20:36:07 +0000
(16:36 -0400)
This is based on code from brcmsmac.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_chipcommon_pmu.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/driver_chipcommon_pmu.c
b/drivers/bcma/driver_chipcommon_pmu.c
index
35c9130
..
ca5a919
100644
(file)
--- a/
drivers/bcma/driver_chipcommon_pmu.c
+++ b/
drivers/bcma/driver_chipcommon_pmu.c
@@
-75,6
+75,9
@@
static void bcma_pmu_resources_init(struct bcma_drv_cc *cc)
bcma_cc_write32(cc, BCMA_CC_PMU_MINRES_MSK, min_msk);
if (max_msk)
bcma_cc_write32(cc, BCMA_CC_PMU_MAXRES_MSK, max_msk);
+
+ /* Add some delay; allow resources to come up and settle. */
+ mdelay(2);
}
/* Disable to allow reading SPROM. Don't know the adventages of enabling it. */