diff mbox

b43 sdio: WARNING: at drivers/mmc/core/core.c:237 mmc_wait_for_cmd

Message ID 4CC98D85.20703@lwfinger.net (mailing list archive)
State New, archived
Headers show

Commit Message

Larry Finger Oct. 28, 2010, 2:49 p.m. UTC
None
diff mbox

Patch

Index: wireless-testing/drivers/net/wireless/b43/sdio.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/b43/sdio.c
+++ wireless-testing/drivers/net/wireless/b43/sdio.c
@@ -175,7 +175,9 @@  static void b43_sdio_remove(struct sdio_
 	struct b43_sdio *sdio = sdio_get_drvdata(func);

 	ssb_bus_unregister(&sdio->ssb);
+	sdio_claim_host(func);
 	sdio_disable_func(func);
+	sdio_release_host(func);
 	kfree(sdio);
 	sdio_set_drvdata(func, NULL);
 }