On Tue, 7 Dec 2010, Kevin Hilman wrote: > commit 0d8e2d0dad98a693bad88aea6876ac8b94ad95c6 (OMAP2+: PM/serial: > hold console semaphore while OMAP UARTs are disabled) added use of the > console semaphore to protect UARTs from being accessed after disabled > during idle, but this causes problems in suspend. > > During suspend, the console semaphore is already held by the time we reach > the OMAP suspend path, so the try_acquire_console_sem() will always fail and > suspend will be aborted. > > To fix, introduce a check so the console semaphore is only attempted > during idle, and not during suspend. > > Cc: Paul Walmsley <paul@xxxxxxxxx> > Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> Tested-by: Paul Walmsley <paul@xxxxxxxxx> - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html