Re: Bugs in MMC [was: [Bug 10030] Suspend doesn't work when SD card is inserted]

Pavel Machek
2008-03-06T20:21:01Z

On Tue 2008-03-04 16:00:51, Alan Stern wrote:
> On Tue, 4 Mar 2008, David Brownell wrote:
>
> > > What's wrong with a superfluous probe at resume time, besides the waste
> > > of a few milliseconds?
> >
> > I'm more concerned with the undesirable removal of devices at suspend
> > time ... ones with mounted filesystems etc.
>
> On that we can agree. The removal is done if the host doesn't define a
> resume method. There doesn't seem to be any point to that, given that
> the probing during resume will determine whether a card has in fact
> been removed.

Hmm, if the driver is sleeping too deeply, user might have removed the
card and put in different one, without driver noticing. That would be
_bad_.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html