[Sdhci-devel] sdhci problems with debug log
Pierre Ossman
drzeus-list at drzeus.cx
Wed Dec 5 10:46:39 CET 2007
On Wed, 5 Dec 2007 09:34:44 +0000
Simon Huggins <huggie at earth.li> wrote:
> > > On Mon, Nov 19, 2007 at 07:29:21PM +0100, Pierre Ossman wrote:
> > Anyway... Just for the sake of it, add a msleep(500); at the beginning
> > of mmc_rescan(). Hopefully that will get the delay we should already
> > have.
>
> This doesn't work but gives the following log. I added a printk too
> just to be sure I was using the right code; search for "msleep(500) added".
>
What the feck... Something is seriously broken with the scheduling.
Try a busy-wait instead by replacing msleep() with mdelay().
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
More information about the Sdhci-devel
mailing list