Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198590
b: refs/heads/master
c: eda6e6f
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and David S. Miller committed May 24, 2010
1 parent 82f48d1 commit 3edb68e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: e487639dc8ca6bd6c19a4140f45ebc88da56ddd5
refs/heads/master: eda6e6f86b5f95b982ac7ebf7cf5be2a29a291e9
8 changes: 6 additions & 2 deletions trunk/drivers/net/irda/bfin_sir.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,12 @@ static int bfin_sir_set_speed(struct bfin_sir_port *port, int speed)
case 57600:
case 115200:

quot = (port->clk + (8 * speed)) / (16 * speed)\
- ANOMALY_05000230;
/*
* IRDA is not affected by anomaly 05000230, so there is no
* need to tweak the divisor like he UART driver (which will
* slightly speed up the baud rate on us).
*/
quot = (port->clk + (8 * speed)) / (16 * speed);

do {
udelay(utime);
Expand Down

0 comments on commit 3edb68e

Please sign in to comment.