Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91500
b: refs/heads/master
c: 19a7426
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Neuendorffer authored and Josh Boyer committed Apr 3, 2008
1 parent 96d97a7 commit 4529d5b
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: 5f91925c89c39e77c170de9366ffa5144a8dd8ec
refs/heads/master: 19a74263f49dce2b96e2213f7f4c029cedbbf0ce
4 changes: 3 additions & 1 deletion trunk/drivers/serial/of_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ static int __devinit of_platform_serial_setup(struct of_device *ofdev,
port->flags = UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF | UPF_IOREMAP
| UPF_FIXED_PORT;
port->dev = &ofdev->dev;
port->custom_divisor = *clk / (16 * (*spd));
/* If current-speed was set, then try not to change it. */
if (spd)
port->custom_divisor = *clk / (16 * (*spd));

return 0;
}
Expand Down

0 comments on commit 4529d5b

Please sign in to comment.