diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2011-11-07 08:27:03 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-12-14 19:05:21 -0500 |
commit | c538d20c7f437e56c5301357c492230d1d6d1b80 (patch) | |
tree | 95fd5bc4d668bd211a082e29b410e7cb86355041 /arch/arm/plat-omap | |
parent | 9f9ac1e84a24670eea1430040e0aef278b4daffa (diff) |
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 { | |||
97 | unsigned char mcr; | 97 | unsigned char mcr; |
98 | unsigned char fcr; | 98 | unsigned char fcr; |
99 | unsigned char efr; | 99 | unsigned char efr; |
100 | unsigned char dll; | ||
101 | unsigned char dlh; | ||
102 | unsigned char mdr1; | ||
103 | unsigned char scr; | ||
100 | 104 | ||
101 | int use_dma; | 105 | int use_dma; |
102 | /* | 106 | /* |