diff options
author | Govindraj.R <govindraj.raja@ti.com> | 2011-11-07 18:57:03 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-12-14 16:05:21 -0800 |
commit | c538d20c7f437e56c5301357c492230d1d6d1b80 (patch) | |
tree | 95fd5bc4d668bd211a082e29b410e7cb86355041 /arch/arm | |
parent | 9f9ac1e84a24670eea1430040e0aef278b4daffa (diff) | |
download | op-kernel-dev-c538d20c7f437e56c5301357c492230d1d6d1b80.zip op-kernel-dev-c538d20c7f437e56c5301357c492230d1d6d1b80.tar.gz |
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')
-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 db9bda9..70e7738 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; /* |