lkml.org 
[lkml]   [2008]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] mmc: add support for card-detection polling
On Fri, 23 May 2008 19:43:40 +0400
Anton Vorontsov <avorontsov@ru.mvista.com> 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@ru.mvista.com>
> ---

Applied the whole lot. Thanks. :)

Rgds
--
-- Pierre Ossman

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


\
 
 \ /
  Last update: 2008-06-01 12:27    [W:0.518 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site