diff options
author | Satya Durga Srinivasu Prabhala <satyap@codeaurora.org> | 2016-06-16 15:13:02 -0700 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-21 15:14:23 -0700 |
commit | 3351162b699c4c0e10fa734e70e0626a28efada6 (patch) | |
tree | e103c688e65a8ac43b97f6acb56cc88ac4619451 /drivers/tty/serial | |
parent | 2d95d7d33ccc3de0f7979d05fd2692610980f6f0 (diff) |
tty: serial: msm: replace iowrite32_rep with writel_relaxed_no_log
RTB logs gets flooded during console write operation due to logged
variant of API. This commit replaces logged variant API with no log
variant to suppress logs.
CRs-Fixed: 1030352
Change-Id: I79f943cbc13553b3dbdce68f5c1143fa54f6eafa
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/msm_serial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index dcde955475dc..edd66bb7bd4c 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -1391,6 +1391,7 @@ static void __msm_console_write(struct uart_port *port, const char *s, int j; unsigned int num_chars; char buf[4] = { 0 }; + const u32 *buffer; if (is_uartdm) num_chars = min(count - i, (unsigned int)sizeof(buf)); @@ -1415,7 +1416,8 @@ static void __msm_console_write(struct uart_port *port, const char *s, while (!(msm_read(port, UART_SR) & UART_SR_TX_READY)) cpu_relax(); - iowrite32_rep(tf, buf, 1); + buffer = (const u32 *)buf; + writel_relaxed_no_log(*buffer, tf); i += num_chars; } spin_unlock(&port->lock); |