Re: regression: b43-sdio: probe of mmc0:0001:1 failed with error-16

From: Chris Ball
Date: Sun Oct 31 2010 - 13:25:35 EST


Hi Arnd,

On Sun, Oct 31, 2010 at 06:16:04PM +0100, Arnd Hannemann wrote:
> on todays Linus' git (v2.6.36-9871-g3985c7c) b43 sdio stopped working.
> It was working on (v2.6.36-6794-g12ba8d1).
>
> b43-sdio: probe of mmc0:0001:1 failed with error -16
>
> The error seems to originate from the following code in drivers/mmc/core/sdio_bus.c:sdio_bus_probe()
>
> 135 ret = pm_runtime_get_sync(dev);
> 136 if (ret < 0)
> 137 goto out;
>
> so I suspect this has something to do with the following commit:
>
> commit 40bba0c1ca83a370f749c8bc9afda71cf79ebd91
> Author: Ohad Ben-Cohen <ohad@xxxxxxxxxx>
> Date: Sat Oct 2 13:54:11 2010 +0200
>
> mmc: sdio: enable runtime PM for SDIO functions
>
> However, simply reverting 40bba0c1ca83a370f749c8bc9afda71cf79ebd91 does not work because then
> modprobe hangs.
>
> Tested on AP4EVB (arm) with tmio_mmc. Any ideas?

We've been discussing this on the linux-mmc@ list:

http://thread.gmane.org/gmane.linux.kernel.mmc/4342

Until we have a fix, you should be able to get SDIO working again by
reverting all nine commits between 1978fda85d..ed2a978594.

Thanks,

--
Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/