Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c

Issue 6488018: brcmfmac: Fix suspend/resume (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel-next.git@chromeos-2.6.37
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
diff --git a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
index d399b5c76f94a0d10087281ac1eec3db452429a5..a5c95fbc3d7f1f8d1917a2a97365695a1c96131c 100644
--- a/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
+++ b/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
@@ -70,6 +70,13 @@ DHD_PM_RESUME_WAIT_INIT(sdioh_request_buffer_wait);
int sdioh_sdmmc_card_regread(sdioh_info_t *sd, int func, u32 regaddr,
int regsize, u32 *data);
+void sdioh_sdio_set_host_pm_flags(int flag)
+{
+ if (sdio_set_host_pm_flags(gInstance->func[1], flag))
+ printk(KERN_ERR "%s: Failed to set pm_flags 0x%08x\n",\
Olof Johansson 2011/03/08 02:35:23 No need for \ at the end. It would be more interes
+ __func__, (unsigned int)flag);
Olof Johansson 2011/03/08 02:35:23 No need to cast flag
+}
+
static int sdioh_sdmmc_card_enablefuncs(sdioh_info_t *sd)
{
int err_ret;
« no previous file with comments | « no previous file | drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698