Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jassi Brar and committed by
Benjamin Gaignard
6dfca6b3 e4bf44b3

+1 -1
+1 -1
drivers/gpu/drm/sti/sti_hqvdp.c
··· 1025 1025 /* Get clock resources */ 1026 1026 hqvdp->clk = devm_clk_get(dev, "hqvdp"); 1027 1027 hqvdp->clk_pix_main = devm_clk_get(dev, "pix_main"); 1028 - if (IS_ERR(hqvdp->clk) || IS_ERR(hqvdp->clk)) { 1028 + if (IS_ERR(hqvdp->clk) || IS_ERR(hqvdp->clk_pix_main)) { 1029 1029 DRM_ERROR("Cannot get clocks\n"); 1030 1030 return -ENXIO; 1031 1031 }