serial: core: display 32 for MEM32 and MEM32BE UPIO types

Displaying "32be" is wrong for UPIO_MEM32. Fix and simplify by displaying
"32" for MEM32 and MEM32BE UPIO types.

Fixes: 86305190f3 ("serial: uniformize serial port I/O infos display")
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20260716211216.2583291-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hugo Villeneuve 2026-07-16 17:12:10 -04:00 committed by Greg Kroah-Hartman
parent 7ab80d1e72
commit d7614cd72d

View File

@ -2492,7 +2492,7 @@ static const char *uart_get_mmio_width(struct uart_port *port)
return "16";
case UPIO_MEM32:
case UPIO_MEM32BE:
return "32be";
return "32";
case UPIO_AU:
case UPIO_MEM:
default: