diff options
-rw-r--r-- | drivers/serial/atmel_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/atmel_serial.c b/drivers/serial/atmel_serial.c index fad245b064d6..d57bf3e708d8 100644 --- a/drivers/serial/atmel_serial.c +++ b/drivers/serial/atmel_serial.c | |||
@@ -549,7 +549,7 @@ static irqreturn_t atmel_interrupt(int irq, void *dev_id) | |||
549 | atmel_handle_transmit(port, pending); | 549 | atmel_handle_transmit(port, pending); |
550 | } while (pass_counter++ < ATMEL_ISR_PASS_LIMIT); | 550 | } while (pass_counter++ < ATMEL_ISR_PASS_LIMIT); |
551 | 551 | ||
552 | return IRQ_HANDLED; | 552 | return pass_counter ? IRQ_HANDLED : IRQ_NONE; |
553 | } | 553 | } |
554 | 554 | ||
555 | /* | 555 | /* |