Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344699
b: refs/heads/master
c: fa0c5e7
h: refs/heads/master
i:
  344697: 4af9ffe
  344695: da95672
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 13, 2012
1 parent e76f6ee commit 13d1072
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 057eeaee6803dafbbf2f79345643530e731ba7cb
refs/heads/master: fa0c5e71295fa4d62b900818d900c16980985e72
6 changes: 6 additions & 0 deletions trunk/drivers/video/omap2/omapfb/omapfb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2241,12 +2241,18 @@ static int omapfb_find_best_mode(struct omap_dss_device *display,

len = 0x80 * 2;
edid = kmalloc(len, GFP_KERNEL);
if (edid == NULL)
return -ENOMEM;

r = display->driver->read_edid(display, edid, len);
if (r < 0)
goto err1;

specs = kzalloc(sizeof(*specs), GFP_KERNEL);
if (specs == NULL) {
r = -ENOMEM;
goto err1;
}

fb_edid_to_monspecs(edid, specs);

Expand Down

0 comments on commit 13d1072

Please sign in to comment.