Loading drivers/mmc/card/sdio_uart.c +12 −11 Original line number Diff line number Diff line Loading @@ -465,7 +465,8 @@ static void sdio_uart_transmit_chars(struct sdio_uart_port *port) tty = tty_port_tty_get(&port->port); if (tty == NULL || circ_empty(xmit) || tty->stopped || tty->hw_stopped) { if (tty == NULL || circ_empty(xmit) || tty->stopped || tty->hw_stopped) { sdio_uart_stop_tx(port); tty_kref_put(tty); return; Loading Loading @@ -674,7 +675,6 @@ static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) return ret; } /** * sdio_uart_shutdown - stop hardware * @tport: tty port to shut down Loading Loading @@ -745,7 +745,6 @@ static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) } else sdio_uart_port_put(port); return ret; } /** Loading Loading @@ -897,7 +896,8 @@ static void sdio_uart_unthrottle(struct tty_struct *tty) sdio_uart_release_func(port); } static void sdio_uart_set_termios(struct tty_struct *tty, struct ktermios *old_termios) static void sdio_uart_set_termios(struct tty_struct *tty, struct ktermios *old_termios) { struct sdio_uart_port *port = tty->driver_data; unsigned int cflag = tty->termios->c_cflag; Loading Loading @@ -1133,7 +1133,8 @@ static int sdio_uart_probe(struct sdio_func *func, kfree(port); } else { struct device *dev; dev = tty_register_device(sdio_uart_tty_driver, port->index, &func->dev); dev = tty_register_device(sdio_uart_tty_driver, port->index, &func->dev); if (IS_ERR(dev)) { sdio_uart_port_remove(port); ret = PTR_ERR(dev); Loading Loading
drivers/mmc/card/sdio_uart.c +12 −11 Original line number Diff line number Diff line Loading @@ -465,7 +465,8 @@ static void sdio_uart_transmit_chars(struct sdio_uart_port *port) tty = tty_port_tty_get(&port->port); if (tty == NULL || circ_empty(xmit) || tty->stopped || tty->hw_stopped) { if (tty == NULL || circ_empty(xmit) || tty->stopped || tty->hw_stopped) { sdio_uart_stop_tx(port); tty_kref_put(tty); return; Loading Loading @@ -674,7 +675,6 @@ static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) return ret; } /** * sdio_uart_shutdown - stop hardware * @tport: tty port to shut down Loading Loading @@ -745,7 +745,6 @@ static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) } else sdio_uart_port_put(port); return ret; } /** Loading Loading @@ -897,7 +896,8 @@ static void sdio_uart_unthrottle(struct tty_struct *tty) sdio_uart_release_func(port); } static void sdio_uart_set_termios(struct tty_struct *tty, struct ktermios *old_termios) static void sdio_uart_set_termios(struct tty_struct *tty, struct ktermios *old_termios) { struct sdio_uart_port *port = tty->driver_data; unsigned int cflag = tty->termios->c_cflag; Loading Loading @@ -1133,7 +1133,8 @@ static int sdio_uart_probe(struct sdio_func *func, kfree(port); } else { struct device *dev; dev = tty_register_device(sdio_uart_tty_driver, port->index, &func->dev); dev = tty_register_device(sdio_uart_tty_driver, port->index, &func->dev); if (IS_ERR(dev)) { sdio_uart_port_remove(port); ret = PTR_ERR(dev); Loading