Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344626
b: refs/heads/master
c: 66a06b0
h: refs/heads/master
v: v3
  • Loading branch information
Ricardo Neri authored and Tomi Valkeinen committed Nov 6, 2012
1 parent a75d834 commit 404ae68
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 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: 7888839e258ee114ca2faabbf741c5001ff668ad
refs/heads/master: 66a06b0c5997fd45eb22c18e8343a3d3865fd5a1
14 changes: 11 additions & 3 deletions trunk/drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
static struct {
struct mutex lock;
struct platform_device *pdev;

struct hdmi_ip_data ip_data;

struct clk *sys_clk;
Expand Down Expand Up @@ -1056,6 +1057,7 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)
hdmi.pdev = pdev;

mutex_init(&hdmi.lock);
mutex_init(&hdmi.ip_data.lock);

res = platform_get_resource(hdmi.pdev, IORESOURCE_MEM, 0);
if (!res) {
Expand Down Expand Up @@ -1083,9 +1085,11 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)
hdmi.ip_data.pll_offset = HDMI_PLLCTRL;
hdmi.ip_data.phy_offset = HDMI_PHY;

mutex_init(&hdmi.ip_data.lock);

hdmi_panel_init();
r = hdmi_panel_init();
if (r) {
DSSERR("can't init panel\n");
goto err_panel_init;
}

dss_debugfs_create_file("hdmi", hdmi_dump_regs);

Expand All @@ -1094,6 +1098,10 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)
hdmi_probe_pdata(pdev);

return 0;

err_panel_init:
hdmi_put_clocks();
return r;
}

static int __exit hdmi_remove_child(struct device *dev, void *data)
Expand Down

0 comments on commit 404ae68

Please sign in to comment.