Re: MMC card detection

From: Haavard Skinnemoen
Date: Thu Feb 21 2008 - 15:32:23 EST


On Thu, 21 Feb 2008 19:46:20 +0100
Haavard Skinnemoen <hskinnemoen@xxxxxxxxx> wrote:

> In order to fix this problem, I think I need a way to tell the MMC core
> that the card really is gone and that there's no point trying to
> communicate with it. Is there any way I can do that?

Never mind, I figured it out. I can simply fail the command right away
with -ENOMEDIUM if I know the card isn't present. Seems to work like a
charm.

Haavard
--
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/