diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2011-11-07 17:27:03 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-12-15 04:05:21 +0400 |
commit | c538d20c7f437e56c5301357c492230d1d6d1b80 (patch) | |
tree | 95fd5bc4d668bd211a082e29b410e7cb86355041 /arch/arm/plat-omap | |
parent | 9f9ac1e84a24670eea1430040e0aef278b4daffa (diff) | |
download | linux-c538d20c7f437e56c5301357c492230d1d6d1b80.tar.xz |
ARM: OMAP2+: UART: Ensure all reg values configured are available from port structure
Add missing uart regs to uart_port structure which can be used in
context restore. Store dll, dlh, mdr1, scr, efr, lcr, mcr reg values
into uart_port structure while configuring individual port in termios
function.
Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes)
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap-serial.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h index db9bda978767..70e7738dd3a0 100644 --- a/arch/arm/plat-omap/include/plat/omap-serial.h +++ b/arch/arm/plat-omap/include/plat/omap-serial.h @@ -97,6 +97,10 @@ struct uart_omap_port { unsigned char mcr; unsigned char fcr; unsigned char efr; + unsigned char dll; + unsigned char dlh; + unsigned char mdr1; + unsigned char scr; int use_dma; /* |