summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250/8250_em.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-02-27 14:41:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-09 19:21:54 +0300
commit54769d865683e96eeca32e325f586978c11fbbb7 (patch)
tree9583901493efbdecb12d82e6cc28ca459cf2c404 /drivers/tty/serial/8250/8250_em.c
parente335354d2348ce2ea0d3e978b2f49c64354ca189 (diff)
downloadlinux-54769d865683e96eeca32e325f586978c11fbbb7.tar.xz
serial: 8250_em: Add missing break statement
Add missing break statement in serial8250_em_serial_out(). Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20230227114152.22265-5-biju.das.jz@bp.renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_em.c')
-rw-r--r--drivers/tty/serial/8250/8250_em.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c
index 045a2110b5c5..621abca93694 100644
--- a/drivers/tty/serial/8250/8250_em.c
+++ b/drivers/tty/serial/8250/8250_em.c
@@ -42,6 +42,7 @@ static void serial8250_em_serial_out(struct uart_port *p, int offset, int value)
case UART_DLL_EM: /* DLL @ 0x24 (+9) */
case UART_DLM_EM: /* DLM @ 0x28 (+9) */
writel(value, p->membase + (offset << 2));
+ break;
}
}