提交 6dfca6b3 编写于 作者: J Jassi Brar 提交者: Benjamin Gaignard

drm: sti: fix check for clk_pix_main

copy-paste wasn't followed by editing, do it.
Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
上级 e4bf44b3
...@@ -1025,7 +1025,7 @@ static int sti_hqvdp_probe(struct platform_device *pdev) ...@@ -1025,7 +1025,7 @@ static int sti_hqvdp_probe(struct platform_device *pdev)
/* Get clock resources */ /* Get clock resources */
hqvdp->clk = devm_clk_get(dev, "hqvdp"); hqvdp->clk = devm_clk_get(dev, "hqvdp");
hqvdp->clk_pix_main = devm_clk_get(dev, "pix_main"); hqvdp->clk_pix_main = devm_clk_get(dev, "pix_main");
if (IS_ERR(hqvdp->clk) || IS_ERR(hqvdp->clk)) { if (IS_ERR(hqvdp->clk) || IS_ERR(hqvdp->clk_pix_main)) {
DRM_ERROR("Cannot get clocks\n"); DRM_ERROR("Cannot get clocks\n");
return -ENXIO; return -ENXIO;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册