Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17215
b: refs/heads/master
c: d0e132b
h: refs/heads/master
i:
  17213: 02185ef
  17211: 0ab086f
  17207: 1e06f50
  17199: f908481
  17183: 65ee373
  17151: d245559
v: v3
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Jan 9, 2006
1 parent 950f9d3 commit 60bd883
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b226e462124522f2f23153daff31c311729dfa2f
refs/heads/master: d0e132b536b6c8044991932d0c160676c46c98e5
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/udbg_16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ unsigned int udbg_probe_uart_speed(void __iomem *comport, unsigned int clock)
speed = (clock / prescaler) / (divisor * 16);

/* sanity check */
if (speed < 9600 || speed > 115200)
if (speed < 0 || speed > (clock / 16))
speed = 9600;

return speed;
Expand Down

0 comments on commit 60bd883

Please sign in to comment.