Loading drivers/mmc/card/sdio_uart.c +21 −19 Original line number Diff line number Diff line Loading @@ -231,7 +231,8 @@ static unsigned int sdio_uart_get_mctrl(struct sdio_uart_port *port) return ret; } static void sdio_uart_write_mctrl(struct sdio_uart_port *port, unsigned int mctrl) static void sdio_uart_write_mctrl(struct sdio_uart_port *port, unsigned int mctrl) { unsigned char mcr = 0; Loading Loading @@ -387,7 +388,8 @@ 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, unsigned 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; Loading Loading @@ -417,9 +419,9 @@ static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *s * Mask off conditions which should be ignored. */ *status &= port->read_status_mask; if (*status & UART_LSR_BI) { if (*status & UART_LSR_BI) flag = TTY_BREAK; } else if (*status & UART_LSR_PE) else if (*status & UART_LSR_PE) flag = TTY_PARITY; else if (*status & UART_LSR_FE) flag = TTY_FRAME; Loading Loading
drivers/mmc/card/sdio_uart.c +21 −19 Original line number Diff line number Diff line Loading @@ -231,7 +231,8 @@ static unsigned int sdio_uart_get_mctrl(struct sdio_uart_port *port) return ret; } static void sdio_uart_write_mctrl(struct sdio_uart_port *port, unsigned int mctrl) static void sdio_uart_write_mctrl(struct sdio_uart_port *port, unsigned int mctrl) { unsigned char mcr = 0; Loading Loading @@ -387,7 +388,8 @@ 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, unsigned 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; Loading Loading @@ -417,9 +419,9 @@ static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *s * Mask off conditions which should be ignored. */ *status &= port->read_status_mask; if (*status & UART_LSR_BI) { if (*status & UART_LSR_BI) flag = TTY_BREAK; } else if (*status & UART_LSR_PE) else if (*status & UART_LSR_PE) flag = TTY_PARITY; else if (*status & UART_LSR_FE) flag = TTY_FRAME; Loading