Skip to content

Commit 32e293b

Browse files
bijudasgregkh
authored andcommitted
serial: 8250_em: Fix UART port type
As per HW manual for EMEV2 "R19UH0040EJ0400 Rev.4.00", the UART IP found on EMMA mobile SoC is Register-compatible with the general-purpose 16750 UART chip. Fix UART port type as 16750 and enable 64-bytes fifo support. Fixes: 22886ee ("serial8250-em: Emma Mobile UART driver V2") Cc: stable@vger.kernel.org Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20230227114152.22265-2-biju.das.jz@bp.renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f8086d1 commit 32e293b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tty/serial/8250/8250_em.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ static int serial8250_em_probe(struct platform_device *pdev)
106106
memset(&up, 0, sizeof(up));
107107
up.port.mapbase = regs->start;
108108
up.port.irq = irq;
109-
up.port.type = PORT_UNKNOWN;
110-
up.port.flags = UPF_BOOT_AUTOCONF | UPF_FIXED_PORT | UPF_IOREMAP;
109+
up.port.type = PORT_16750;
110+
up.port.flags = UPF_FIXED_PORT | UPF_IOREMAP | UPF_FIXED_TYPE;
111111
up.port.dev = &pdev->dev;
112112
up.port.private_data = priv;
113113

0 commit comments

Comments
 (0)