[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1244022468.20907.5.camel@jorg-desktop>
Date: Wed, 03 Jun 2009 12:47:48 +0300
From: Jörg Schummer <ext-jorg.2.schummer@...ia.com>
To: ext Pierre Ossman <drzeus-mmc@...eus.cx>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] MMC: core/core.c: mmc_rescan detects card change
in one run
On Fri, 2009-04-10 at 18:39 +0200, ext Pierre Ossman wrote:
> On Tue, 31 Mar 2009 17:51:21 +0300
> Jorg Schummer <ext-jorg.2.schummer@...ia.com> wrote:
>
> > With this patch, mmc_rescan can detect the removal of an mmc card and
> > the insertion of (possibly another) card in the same run. This means
> > that a card change can be detected without having to call
> > mmc_detect_change multiple times.
> >
> > This change generalises the core such that it can be easily used by
> > hosts which provide a mechanism to detect only the presence of a card
> > reader cover, which has to be taken off in order to insert a card. Other
> > hosts ("card detect" or "MMC_CAP_NEEDS_POLL") each receive an event when
> > a card is removed and when a card is inserted, so it is sufficient for
> > them if mmc_rescan handles only one event at a time. "Cover detect"
> > hosts, however, only receive events about the cover status. This means
> > that between 2 subsequent events, both a card removal and a card
> > insertion can occur. In this case, the pre-patch version of mmc_rescan
> > would only detect the removal of the previous card but not the insertion
> > of the new card.
> >
> > Signed-off-by: Jorg Schummer <ext-jorg.2.schummer@...ia.com>
> > ---
>
> Queued, thanks.
Hi Pierre,
is there any news about this patch?
Regards,
Jörg
Download attachment "mmc_rescan.patch" of type "message/rfc822" (4051 bytes)
Powered by blists - more mailing lists