Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325731
b: refs/heads/master
c: 6c3a30c
h: refs/heads/master
i:
  325729: 0dc8f7e
  325727: 4e0212d
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent bfb307d commit a9c590a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e9c8e7dbf3b9cc94947d76cb57985682517cc6e
refs/heads/master: 6c3a30c7fbed820f65d5e708f1e83468d8ec9921
5 changes: 2 additions & 3 deletions trunk/drivers/tty/serial/omap-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,10 @@ static inline irqreturn_t serial_omap_irq(int irq, void *dev_id)
struct tty_struct *tty = up->port.state->port.tty;
unsigned int iir, lsr;
unsigned int type;
unsigned long flags;
irqreturn_t ret = IRQ_NONE;
int max_count = 256;

spin_lock_irqsave(&up->port.lock, flags);
spin_lock(&up->port.lock);
pm_runtime_get_sync(up->dev);

do {
Expand Down Expand Up @@ -394,7 +393,7 @@ static inline irqreturn_t serial_omap_irq(int irq, void *dev_id)
}
} while (!(iir & UART_IIR_NO_INT) && max_count--);

spin_unlock_irqrestore(&up->port.lock, flags);
spin_unlock(&up->port.lock);

tty_flip_buffer_push(tty);

Expand Down

0 comments on commit a9c590a

Please sign in to comment.