summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorGovindraj.R2011-11-07 14:27:03 +0100
committerKevin Hilman2011-12-15 01:05:21 +0100
commitc538d20c7f437e56c5301357c492230d1d6d1b80 (patch)
tree95fd5bc4d668bd211a082e29b410e7cb86355041 /arch/arm
parentARM: OMAP2+: UART: Remove context_save and move context restore to driver (diff)
downloadkernel-qcow2-linux-c538d20c7f437e56c5301357c492230d1d6d1b80.tar.gz
kernel-qcow2-linux-c538d20c7f437e56c5301357c492230d1d6d1b80.tar.xz
kernel-qcow2-linux-c538d20c7f437e56c5301357c492230d1d6d1b80.zip
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.h4
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;
/*