From: Jassi Brar Date: Wed, 4 Feb 2015 16:37:00 +0000 (+0100) Subject: drm: sti: fix check for clk_pix_main X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6dfca6b37fb20f31502153b549ce5948fcd5ecef;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm: sti: fix check for clk_pix_main copy-paste wasn't followed by editing, do it. Signed-off-by: Jassi Brar --- diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index f3db05dab0ab..b0eb62de1b2e 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -1025,7 +1025,7 @@ static int sti_hqvdp_probe(struct platform_device *pdev) /* Get clock resources */ hqvdp->clk = devm_clk_get(dev, "hqvdp"); 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"); return -ENXIO; }