From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chen Gong" Subject: Re: [PATCH 3/4] [MMC] mmc_spi: add polling support for the card detectline Date: Mon, 19 May 2008 11:02:13 +0800 Message-ID: <58A20A281BAF1047B4EAE68DE5C0BDC2F16E6A@zch01exm21.fsl.freescale.net> References: <20080516165057.GC24196@polina.dev.rtsoft.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Tabi Timur , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Anton Vorontsov" , "Kumar Gala" , "David Brownell" , "Pierre Ossman" Return-path: Content-class: urn:content-classes:message In-Reply-To: <20080516165057.GC24196-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 > -----Original Message----- > From: linuxppc-dev-bounces+b11801=freescale.com-mnsaURCQ41sdnm+yROfE0A@public.gmane.org > [mailto:linuxppc-dev-bounces+b11801=freescale.com-mnsaURCQ41sdnm+yROfE0A@public.gmane.org] > On Behalf Of Anton Vorontsov > Sent: 2008?5?17? 0:51 > To: Kumar Gala; David Brownell; Pierre Ossman > Cc: linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org; > spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; > linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Tabi Timur > Subject: [PATCH 3/4] [MMC] mmc_spi: add polling support for > the card detectline > > Some boards do not use interrupts on the CD line, so we want > to poll the CD and see if there was a change. 1 second poll > interval seems resonable. > > Signed-off-by: Anton Vorontsov > --- > drivers/mmc/host/mmc_spi.c | 51 I want to know whether every card working well ? Because I'm working For 83xx MMC-over-SPI support, the presented concrete methods I used as you do, but only 256M card seems good, 512M or 1G/2G card all have some problems ------------------------------------------------------------------------- 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/