Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226495
b: refs/heads/master
c: 2b1af87
h: refs/heads/master
i:
  226493: c7db0b9
  226491: c0299c1
  226487: f294036
  226479: 6a63feb
  226463: 5a12dd0
  226431: b554c27
v: v3
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed Dec 17, 2010
1 parent 833895d commit 83194c9
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: e5f5b5422d064b7a393e39332da31af68e975f91
refs/heads/master: 2b1af87ace4776f0d0c3513923a79529fc1b5a00
8 changes: 6 additions & 2 deletions trunk/arch/arm/mach-omap2/sdram-nokia.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,14 @@ struct omap_sdrc_params *nokia_get_sdram_timings(void)
int err = 0;
int i;

for (i = 0; i < ARRAY_SIZE(nokia_timings); i++)
for (i = 0; i < ARRAY_SIZE(nokia_timings); i++) {
err |= sdrc_timings(i, nokia_timings[i].rate,
nokia_timings[i].data);
if (err)
pr_err("%s: error with rate %ld: %d\n", __func__,
nokia_timings[i].rate, err);
}

return &nokia_sdrc_params[0];
return err ? NULL : nokia_sdrc_params;
}

0 comments on commit 83194c9

Please sign in to comment.