diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-12-06 08:37:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-12-08 12:02:37 +0100 |
commit | 2573f7eac04dbcdd4f24957e3a3bc891ed2dc88f (patch) | |
tree | 4743a23e749a46d5e1ab89d97bc970a6f5556052 | |
parent | ce7cbd9a6c81b5fc899bbc730072a1bddeae5d0d (diff) |
tty: mmc: sdio: use u8 for flag
Switch character types to u8. To conform to characters in the rest of
the tty layer.
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Cc: Ulf Hansson <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/mmc/core/sdio_uart.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/sdio_uart.c b/drivers/mmc/core/sdio_uart.c index 370fadf1d6d1..575ebbce378e 100644 --- a/drivers/mmc/core/sdio_uart.c +++ b/drivers/mmc/core/sdio_uart.c @@ -354,12 +354,11 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port) static void sdio_uart_receive_chars(struct sdio_uart_port *port, u8 *status) { - unsigned int flag; int max_count = 256; do { u8 ch = sdio_in(port, UART_RX); - flag = TTY_NORMAL; + u8 flag = TTY_NORMAL; port->icount.rx++; if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | |