[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0802201604260.7212-100000@iolanthe.rowland.org>
Date: Wed, 20 Feb 2008 16:06:14 -0500 (EST)
From: Alan Stern <stern@...land.harvard.edu>
To: Pierre Ossman <drzeus-mmc@...eus.cx>
cc: "Rafael J. Wysocki" <rjw@...k.pl>,
Zdenek Kabelac <zdenek.kabelac@...il.com>,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: [Bug 10030] Suspend doesn't work when SD card is inserted
On Wed, 20 Feb 2008, Pierre Ossman wrote:
> > And why not simply fail the suspend if the resume routine doesn't exist
> > and the suspend routine does? Maybe with an error message in the
> > system log.
>
> For the asymmetric case, I guess that would do. But I still want to remove devices when the bus handler has no suspend handling.
Then it appears the correct approach is to use the new
device_pm_schedule_removal() routine. It schedules the removal of a
suspended device for a time when the system suspend is over.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists