Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344624
b: refs/heads/master
c: 47e443b
h: refs/heads/master
v: v3
  • Loading branch information
Ricardo Neri authored and Tomi Valkeinen committed Nov 6, 2012
1 parent 1cc3c99 commit 48b0116
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: af23cb353307c9d69a5d41ce6168c83fe032387d
refs/heads/master: 47e443bce78472ecee8d4246ac726f0a9c19cbd1
6 changes: 2 additions & 4 deletions trunk/drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1064,15 +1064,15 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)
}

/* Base address taken from platform */
hdmi.ip_data.base_wp = ioremap(res->start, resource_size(res));
hdmi.ip_data.base_wp = devm_request_and_ioremap(&pdev->dev, res);
if (!hdmi.ip_data.base_wp) {
DSSERR("can't ioremap WP\n");
return -ENOMEM;
}

r = hdmi_get_clocks(pdev);
if (r) {
iounmap(hdmi.ip_data.base_wp);
DSSERR("can't get clocks\n");
return r;
}

Expand Down Expand Up @@ -1117,8 +1117,6 @@ static int __exit omapdss_hdmihw_remove(struct platform_device *pdev)

hdmi_put_clocks();

iounmap(hdmi.ip_data.base_wp);

return 0;
}

Expand Down

0 comments on commit 48b0116

Please sign in to comment.