Skip to content

Commit

Permalink
bcma: add mdelay bcma_pmu_resources_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hauke Mehrtens authored and John W. Linville committed Jul 9, 2012
1 parent c586e10 commit 4795f09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/bcma/driver_chipcommon_pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 4795f09

Please sign in to comment.