summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/video/fbdev/pxa3xx-gcu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/video/fbdev/pxa3xx-gcu.c')
-rw-r--r--kernel/drivers/video/fbdev/pxa3xx-gcu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/video/fbdev/pxa3xx-gcu.c b/kernel/drivers/video/fbdev/pxa3xx-gcu.c
index 86bd457d0..50bce45e7 100644
--- a/kernel/drivers/video/fbdev/pxa3xx-gcu.c
+++ b/kernel/drivers/video/fbdev/pxa3xx-gcu.c
@@ -653,7 +653,7 @@ static int pxa3xx_gcu_probe(struct platform_device *pdev)
goto err_free_dma;
}
- ret = clk_enable(priv->clk);
+ ret = clk_prepare_enable(priv->clk);
if (ret < 0) {
dev_err(dev, "failed to enable clock\n");
goto err_misc_deregister;
@@ -685,7 +685,7 @@ err_misc_deregister:
misc_deregister(&priv->misc_dev);
err_disable_clk:
- clk_disable(priv->clk);
+ clk_disable_unprepare(priv->clk);
return ret;
}