2008-06-01 10:23:51

by Pierre Ossman

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

On Fri, 23 May 2008 19:43:40 +0400
Anton Vorontsov <[email protected]> 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 <[email protected]>
> ---

Applied the whole lot. Thanks. :)

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org