Re: [PATCH] PM: acquire device locks prior to suspending

Andrew Morton
2007-12-13T07:42:01Z

On Fri, 21 Sep 2007 15:37:40 -0400 (EDT) Alan Stern <stern@rowland.harvard.edu> wrote:

> This patch (as994) reorganizes the way suspend and resume
> notifications are sent to drivers. The major changes are that now the
> PM core acquires every device semaphore before calling the methods,
> and calls to device_add() during suspends will fail.

Causes my t61p to deadlock during suspend-to-RAM. Really late - the little
moon symbol has started to flash but the LCD is still powered and the
cursor still blinks. Only a poweroff restores control.