From: Kevin Hilman Date: Tue, 13 Sep 2011 18:18:44 +0000 (-0700) Subject: OMAP3: PM: fix UART handling when using no_console_suspend X-Git-Tag: v3.2-rc1~90^2~8^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dca2d0eb5917ff132d9be13f0afa9ae5d4e80580;p=pandora-kernel.git OMAP3: PM: fix UART handling when using no_console_suspend During the idle/suspend path, we expect the console lock to be held so that no console output is done during/after the UARTs are idled. However, when using the no_console_suspend argument on the command-line, the console driver does not take the console lock. This allows the possibility of console activity after UARTs have been disabled. To fix, update the current is_suspending() to also check the console_suspend_enabled flag. Reported-by: Abhilash Koyamangalath Tested-by: Abhilash Koyamangalath Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed