Thread (1 message) 1 message, 1 author, 2008-01-06

Re: [PATCH] PM: Acquire device locks on suspend

From: Rafael J. Wysocki <hidden>
Date: 2008-01-06 22:24:14

On Sunday, 6 of January 2008, Alan Stern wrote:
On Sun, 6 Jan 2008, Rafael J. Wysocki wrote:
quoted
On Sunday, 6 of January 2008, Alan Stern wrote:
quoted
Still, shouldn't we fail the removal of the device apart from giving the
warning?
We can't.  device_del() can't fail -- it returns void.  Besides, how 
can a driver hope to deal with an unregistration failure?
Well, right.

Still, our present approach doesn't seem to be correct overall.  For example,
I think we should prevent a suspend from happening while a device is being
removed.

Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help