mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
OMAP: DSS2: HDMI: fix hdmi clock name
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>
This commit is contained in:
parent
9ede365aa6
commit
df5d3ed23c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user