Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338373
b: refs/heads/master
c: ec33552
h: refs/heads/master
i:
  338371: eaf87de
v: v3
  • Loading branch information
Alexander Shiyan authored and Greg Kroah-Hartman committed Oct 24, 2012
1 parent 85655b4 commit 9af4f8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 1593daf9a84f4b29e90027e0999c93da1d25478b
refs/heads/master: ec335526b4bce21f6777d3917d6d67c16009ec63
4 changes: 3 additions & 1 deletion trunk/drivers/tty/serial/clps711x.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,14 @@ static void clps711xuart_break_ctl(struct uart_port *port, int break_state)
unsigned int ubrlcr;

spin_lock_irqsave(&port->lock, flags);

ubrlcr = clps_readl(UBRLCR(port));
if (break_state == -1)
if (break_state)
ubrlcr |= UBRLCR_BREAK;
else
ubrlcr &= ~UBRLCR_BREAK;
clps_writel(ubrlcr, UBRLCR(port));

spin_unlock_irqrestore(&port->lock, flags);
}

Expand Down

0 comments on commit 9af4f8d

Please sign in to comment.