From: Kevin Hilman Date: Wed, 24 Nov 2010 19:09:03 +0000 (-0800) Subject: OMAP: UART: don't resume UARTs that are not enabled. X-Git-Tag: v2.6.37-rc4~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f910043ce00791c06afc3789278447c4e88670ea;p=pandora-kernel.git OMAP: UART: don't resume UARTs that are not enabled. Add additional check to omap_uart_resume_idle() so that only enabled (specifically, idle-enabled) UARTs are allowed to resume. This matches the existing check in prepare idle. Without this patch, the system will hang if a board is configured to register only some uarts instead of all of them and PM is enabled. Cc: Govindraj R. Signed-off-by: Kevin Hilman [tony@atomide.com: updated description] Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed