Skip to content

Instantly share code, notes, and snippets.

@steven676
Created August 2, 2012 00:48
Show Gist options
  • Save steven676/3232030 to your computer and use it in GitHub Desktop.
Save steven676/3232030 to your computer and use it in GitHub Desktop.
possible fix for wl1271 suspend on encore?
diff --git a/mac80211/compat_wl12xx/drivers/net/wireless/ti/wlcore/sdio.c b/mac80211/compat_wl12xx/drivers/net/wireless/ti/wlcore/sdio.c
index e4dd562..1c4b593 100644
--- a/mac80211/compat_wl12xx/drivers/net/wireless/ti/wlcore/sdio.c
+++ b/mac80211/compat_wl12xx/drivers/net/wireless/ti/wlcore/sdio.c
@@ -325,6 +325,8 @@ static int wl1271_suspend(struct device *dev)
goto out;
}
}
+ /* XXX Fix suspend/resume on encore? */
+ sdio_release_host(func);
out:
return ret;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment