From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Ossman Subject: Re: [PATCH 1/3] mmc: add support for card-detection polling Date: Sun, 1 Jun 2008 12:23:36 +0200 Message-ID: <20080601122336.71915642@mjolnir.drzeus.cx> References: <20080523154204.GA19803@polina.dev.rtsoft.ru> <20080523154340.GA24862@polina.dev.rtsoft.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: David Brownell , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Jochen Friedrich , spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Timur Tabi To: Anton Vorontsov Return-path: In-Reply-To: <20080523154340.GA24862-PHTr8nzUCjejyJ0x5qLZdcN33GVbZNy3@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Fri, 23 May 2008 19:43:40 +0400 Anton Vorontsov 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 > --- Applied the whole lot. Thanks. :) Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/