diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-11-24 20:09:03 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-11-25 01:09:30 +0100 |
commit | f910043ce00791c06afc3789278447c4e88670ea (patch) | |
tree | d1bd00a601bfacb0b08e0b4e6b32cbc96dbffd99 /arch/arm/mach-omap2/pm34xx.c | |
parent | Merge master.kernel.org:/home/rmk/linux-2.6-arm (diff) | |
download | linux-f910043ce00791c06afc3789278447c4e88670ea.tar.xz linux-f910043ce00791c06afc3789278447c4e88670ea.zip |
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. <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
[tony@atomide.com: updated description]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
0 files changed, 0 insertions, 0 deletions