diff options
author | Mursalin Akon <makon@nvidia.com> | 2012-08-31 10:46:22 -0700 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2012-10-04 15:38:56 -0700 |
commit | 3ae23c3dab9151cca239513888d55146515931c1 (patch) | |
tree | 59f076720b873bcbd2dc21994baa6347c9b25f26 | |
parent | 7f5266b82d7a13ba905cff1d1bf039aa2b50d07b (diff) |
bcmdhd: do not turn off mmc at probe
Do not turn off mmc at probe if watchdog thread is
in use.
Bug 1029792
Bug 1029733
Change-Id: Ia2e303daa27688c96e7fa5941e01cf821166c498
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/141628
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
-rw-r--r-- | drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c b/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c index 1a315b4dcf90..6ca85311b4c4 100644 --- a/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c +++ b/drivers/net/wireless/bcmdhd/bcmsdh_sdmmc_linux.c @@ -132,8 +132,10 @@ static int bcmsdh_sdmmc_probe(struct sdio_func *func, #endif sd_trace(("F2 found, calling bcmsdh_probe_bcmdhd...\n")); ret = bcmsdh_probe_bcmdhd(&func->dev); +#ifndef DHDTHREAD if (mmc_power_save_host(func->card->host)) sd_err(("%s: card power save fail", __FUNCTION__)); +#endif } return ret; |