Re: [PATCH 1/3] mmc: add support for card-detection polling

From: Pierre Ossman
Date: Sun Jun 01 2008 - 06:23:51 EST


On Fri, 23 May 2008 19:43:40 +0400
Anton Vorontsov <avorontsov@xxxxxxxxxxxxx> wrote:

> Some hosts (and boards that use mmc_spi) do not use interrupts on the CD
> line, so they can't trigger mmc_detect_change. We want to poll the card
> and see if there was a change. 1 second poll interval seems resonable.
>
> This patch also implements .get_cd() host operation, that could be used
> by the hosts that are able to report card-detect status without need to
> talk MMC.
>
> Signed-off-by: Anton Vorontsov <avorontsov@xxxxxxxxxxxxx>
> ---

Applied the whole lot. Thanks. :)

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
--
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/