drm: sti: fix check for clk_pix_main

copy-paste wasn't followed by editing, do it.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
Jassi Brar 2015-02-04 17:37:00 +01:00 коммит произвёл Benjamin Gaignard
Родитель e4bf44b3b5
Коммит 6dfca6b37f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
} }