diff mbox

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

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

Commit Message

Larry Finger Oct. 28, 2010, 12:58 a.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
@@ -18,6 +18,7 @@ 
 #include <linux/mmc/sdio_ids.h>
 #include <linux/slab.h>
 #include <linux/ssb/ssb.h>
+#include <linux/mmc/host.h>

 #include "sdio.h"
 #include "b43.h"
@@ -174,7 +175,11 @@  static void b43_sdio_remove(struct sdio_
 {
 	struct b43_sdio *sdio = sdio_get_drvdata(func);

+	printk(KERN_INFO "b43-sdio: before ssb_bus_unregister, claimed is %d\n",
+	       func->card->host->claimed);
 	ssb_bus_unregister(&sdio->ssb);
+	printk(KERN_INFO "b43-sdio: before sdio_disable_func, claimed is %d\n",
+	       func->card->host->claimed);
 	sdio_disable_func(func);
 	kfree(sdio);
 	sdio_set_drvdata(func, NULL);