aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVitaly Chernooky <vitaly.chernooky@ti.com>2012-10-31 16:58:27 +0200
committerZiyann <jaraidaniel@gmail.com>2014-11-26 11:18:20 +0100
commitda82942bbd6a40cf7ddd3edc52352610905137ce (patch)
tree598911eb9a0cfa1a5ecee50f58b6638ace196aa5 /include
parent8e55657b47cc5266af30525c58a7fa0a3d6f0160 (diff)
downloadkernel_samsung_tuna-da82942bbd6a40cf7ddd3edc52352610905137ce.zip
kernel_samsung_tuna-da82942bbd6a40cf7ddd3edc52352610905137ce.tar.gz
kernel_samsung_tuna-da82942bbd6a40cf7ddd3edc52352610905137ce.tar.bz2
tty: omap-serial: Disabling DMA on suspend path
In case of bug UART can't suspend with TX DMA enabled. So here is implemented WA: TX DMA is disabled on runtime suspend path and re-enabled on runtime resume path. Change-Id: Iabc726ca93a5e354eb53efdacedf3261d4e02763 Signed-off-by: Vitaly Chernooky <vitaly.chernooky@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/serial_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/serial_reg.h b/include/linux/serial_reg.h
index c75bda3..e8046c7 100644
--- a/include/linux/serial_reg.h
+++ b/include/linux/serial_reg.h
@@ -362,5 +362,7 @@
#define UART_OMAP_MDR1_CIR_MODE 0x06 /* CIR mode */
#define UART_OMAP_MDR1_DISABLE 0x07 /* Disable (default state) */
+#define UART_OMAP_SCR_DMA_MODE_MASK 0xF9
+
#endif /* _LINUX_SERIAL_REG_H */