Skip to content

Commit

Permalink
drm: sti: fix check for clk_pix_main
Browse files Browse the repository at this point in the history
copy-paste wasn't followed by editing, do it.

Signed-off-by: Jassi Brar <[email protected]>
  • Loading branch information
JassiBrar authored and Benjamin-Gaignard committed Feb 4, 2015
1 parent e4bf44b commit 6dfca6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/sti/sti_hqvdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6dfca6b

Please sign in to comment.