mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
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:
parent
7ab80d1e72
commit
d7614cd72d
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user