Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a960d5dc authored by Andre Haupt's avatar Andre Haupt Committed by Pierre Ossman
Browse files

sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()



This also fixes a sparse warning about different signedness.
Only compile tested, because i do not have the hardware.

Signed-off-by: default avatarAndre Haupt <andre@bitwigglers.org>
Acked-by: default avatarNicolas Pitre <nico@cam.org>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 09f345da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port)
	sdio_out(port, UART_IER, port->ier);
}

static void sdio_uart_receive_chars(struct sdio_uart_port *port, int *status)
static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *status)
{
	struct tty_struct *tty = port->tty;
	unsigned int ch, flag;