diff options
| author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2026-07-16 17:12:10 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 12:59:56 +0200 |
| commit | d7614cd72dc1680801936c1d468704426c2d142a (patch) | |
| tree | 304af0d826d6b22c418313e81ab2a25784ad666b /drivers/tty/serial | |
| parent | 7ab80d1e72431f5b7acbc55d83a23b76814957cf (diff) | |
| download | linux-next-d7614cd72dc1680801936c1d468704426c2d142a.tar.gz linux-next-d7614cd72dc1680801936c1d468704426c2d142a.zip | |
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: 86305190f307 ("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>
Diffstat (limited to 'drivers/tty/serial')
| -rw-r--r-- | drivers/tty/serial/serial_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 06d7f44643d6..edd1e7be2a5c 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -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: |
