Skip to content

Commit

Permalink
OMAP: DSS2: HDMI: fix hdmi clock name
Browse files Browse the repository at this point in the history
The HDMI clock (hdmi_clk) is missing in the current OMAP4 HWMOD
database. Fix this in the DSS driver by using the old clock name
(dss_48mhz_clk).

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed Aug 1, 2011
1 parent 9ede365 commit df5d3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1698,9 +1698,9 @@ static int hdmi_get_clocks(struct platform_device *pdev)

hdmi.sys_clk = clk;

clk = clk_get(&pdev->dev, "fck");
clk = clk_get(&pdev->dev, "dss_48mhz_clk");
if (IS_ERR(clk)) {
DSSERR("can't get fck\n");
DSSERR("can't get hdmi_clk\n");
clk_put(hdmi.sys_clk);
return PTR_ERR(clk);
}
Expand Down

0 comments on commit df5d3ed

Please sign in to comment.