Re: [PATCH 3/4] [MMC] mmc_spi: add polling support for the carddetect line
From: Anton Vorontsov
Date: Fri May 23 2008 - 11:42:19 EST
On Thu, May 22, 2008 at 09:34:32PM +0200, Pierre Ossman wrote:
> > Ok. How about this version?
> Perfect. Unless there is some way you can pass flags in platform data?
> Using the lack of an init() to determine the need for polling is a bit
Aha, that's an idea, thanks. Implemented in the updated patches.
I think, in case of capabilities, it's users' responsibility to not
issue bogus flags, so mmc_spi doesn't mask anything, it just passes
platform's caps. This also avoids drivers update when (if) new caps
will be implemented.
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/