Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116935
b: refs/heads/master
c: bb5e649
h: refs/heads/master
i:
  116933: 20f667c
  116931: 3be2343
  116927: 8e8455d
v: v3
  • Loading branch information
roel kluin authored and Benjamin Herrenschmidt committed Oct 21, 2008
1 parent 181674e commit 61fdc4e
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: 04badfd2936333a23e0fc233f31a760d0dc9424f
refs/heads/master: bb5e6491cae4c5d6ddfa3e173e22efb35f595949
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 @@ -142,7 +142,7 @@ unsigned int udbg_probe_uart_speed(void __iomem *comport, unsigned int clock)
speed = (clock / prescaler) / (divisor * 16);

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

return speed;
Expand Down

0 comments on commit 61fdc4e

Please sign in to comment.