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)" <jirislaby@kernel.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org
Link: https://lore.kernel.org/r/20231206073712.17776-17-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jiri Slaby (SUSE)
2023-12-06 08:37:01 +01:00
committed by Greg Kroah-Hartman
parent ce7cbd9a6c
commit 2573f7eac0

View File

@ -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 |