Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332686
b: refs/heads/master
c: 036a1ac
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and David Woodhouse committed Sep 29, 2012
1 parent 8c887d2 commit 890b760
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: b5170978b421222ba4c3d64d1ebd4a03d64ae42e
refs/heads/master: 036a1ac1f4ac8cdfed4574738c63aba2e81a13e4
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/devices/spear_smi.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ static int __devinit spear_smi_probe(struct platform_device *pdev)
dev->pdev = pdev;
dev->clk_rate = pdata->clk_rate;

if (dev->clk_rate < 0 || dev->clk_rate > SMI_MAX_CLOCK_FREQ)
if (dev->clk_rate > SMI_MAX_CLOCK_FREQ)
dev->clk_rate = SMI_MAX_CLOCK_FREQ;

dev->num_flashes = pdata->num_flashes;
Expand Down

0 comments on commit 890b760

Please sign in to comment.