Skip to content

Commit

Permalink
tty: 8250_dw: Fix inverted arguments to serial_out in IRQ handler
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Ripard <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
mripard authored and gregkh committed Jan 16, 2013
1 parent 2eaa865 commit 68e56cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/8250/8250_dw.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static int dw8250_handle_irq(struct uart_port *p)
} else if ((iir & UART_IIR_BUSY) == UART_IIR_BUSY) {
/* Clear the USR and write the LCR again. */
(void)p->serial_in(p, UART_USR);
p->serial_out(p, d->last_lcr, UART_LCR);
p->serial_out(p, UART_LCR, d->last_lcr);

return 1;
}
Expand Down

0 comments on commit 68e56cb

Please sign in to comment.