diff options
author | Jassi Brar <jaswinder.singh@linaro.org> | 2015-02-04 17:37:00 +0100 |
---|---|---|
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2015-02-04 17:52:07 +0100 |
commit | 6dfca6b37fb20f31502153b549ce5948fcd5ecef (patch) | |
tree | 60b47afc6bd6bc2429ce54ff2dc0580e19f86247 /drivers/gpu/drm/sti | |
parent | drm/modes: Print the mode status in human readable form (diff) | |
download | linux-6dfca6b37fb20f31502153b549ce5948fcd5ecef.tar.xz linux-6dfca6b37fb20f31502153b549ce5948fcd5ecef.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/sti')
-rw-r--r-- | drivers/gpu/drm/sti/sti_hqvdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |