From f229a4b89a9c78dd5ee289f5ba5503b130c614cf Mon Sep 17 00:00:00 2001 From: Runmin Wang Date: Fri, 2 Sep 2016 09:41:25 -0700 Subject: [PATCH] tty : msm_serial: Remove the rtb logs of msm_serial write and read msm_write/read use write/read_relaxed function which will create lots of RTB logging. Change the API to no_log version to remove those RTB logs. CRs-Fixed: 1062953 Change-Id: Id6524b7ae3e82e10ca651a2ca0de9223c18109da Signed-off-by: Runmin Wang --- drivers/tty/serial/msm_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index 670eda466438..da64f88729b8 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c @@ -197,13 +197,13 @@ struct msm_port { static void msm_write(struct uart_port *port, unsigned int val, unsigned int off) { - writel_relaxed(val, port->membase + off); + writel_relaxed_no_log(val, port->membase + off); } static unsigned int msm_read(struct uart_port *port, unsigned int off) { - return readl_relaxed(port->membase + off); + return readl_relaxed_no_log(port->membase + off); } /*