tty: serial: msm: Add mask value for UART_DM registers
authorPramod Gurav <gpramod@codeaurora.org>
Wed, 30 Sep 2015 12:26:58 +0000 (15:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 18:15:17 +0000 (19:15 +0100)
commit12b9b9f186f336ad6fe7adcbad48bd5340af9abb
tree9f5d86b99cdf7516ae9b159e6d26ee9c4b1b1c5d
parent2b0159d1ecfbc11badb96466c0c1582ee5ffe78f
tty: serial: msm: Add mask value for UART_DM registers

The bit masks for RFR_LEVEL1 and STALE_TIMEOUT_MSB values in MR1 and
IPR registers respectively are different for UART and UART_DM hardware
cores. We have been using UART core mask values for these. Add the same
for UART_DM core.

There is no bit setting as UART_IPR_RXSTALE_LAST for UART_DM core so do
it only for UART core.

Signed-off-by: Pramod Gurav <gpramod@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_serial.c
drivers/tty/serial/msm_serial.h