OMAP: DSS2: HDMI: fix hdmi clock name
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 1 Aug 2011 11:54:44 +0000 (14:54 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 1 Aug 2011 11:56:53 +0000 (14:56 +0300)
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>
drivers/video/omap2/dss/hdmi.c

index 635cc002a4382983bc189fb16ad49987eb8275a6..256f27a9064ac75ee5c3397a21db07b5948d482c 100644 (file)
@@ -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);
        }