diff options
Diffstat (limited to 'drivers/tty/serial/68328serial.c')
| -rw-r--r-- | drivers/tty/serial/68328serial.c | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c index 49399470794..ef2e08e9b59 100644 --- a/drivers/tty/serial/68328serial.c +++ b/drivers/tty/serial/68328serial.c @@ -630,8 +630,7 @@ static void rs_flush_chars(struct tty_struct *tty)  	/* Enable transmitter */  	local_irq_save(flags); -	if (info->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped || -			!info->xmit_buf) { +	if (info->xmit_cnt <= 0 || tty->stopped || !info->xmit_buf) {  		local_irq_restore(flags);  		return;  	} @@ -697,7 +696,7 @@ static int rs_write(struct tty_struct * tty,  		total += c;  	} -	if (info->xmit_cnt && !tty->stopped && !tty->hw_stopped) { +	if (info->xmit_cnt && !tty->stopped) {  		/* Enable transmitter */  		local_irq_disable();		  #ifndef USE_INTS @@ -978,10 +977,8 @@ static void rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios)  	change_speed(info, tty);  	if ((old_termios->c_cflag & CRTSCTS) && -	    !(tty->termios.c_cflag & CRTSCTS)) { -		tty->hw_stopped = 0; +	    !(tty->termios.c_cflag & CRTSCTS))  		rs_start(tty); -	}  }  |