diff options
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index 0264704a52be..eaeae0fd0962 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c | |||
@@ -344,7 +344,7 @@ static void sh_mobile_lcdc_clk_on(struct sh_mobile_lcdc_priv *priv) | |||
344 | { | 344 | { |
345 | if (atomic_inc_and_test(&priv->hw_usecnt)) { | 345 | if (atomic_inc_and_test(&priv->hw_usecnt)) { |
346 | if (priv->dot_clk) | 346 | if (priv->dot_clk) |
347 | clk_enable(priv->dot_clk); | 347 | clk_prepare_enable(priv->dot_clk); |
348 | pm_runtime_get_sync(priv->dev); | 348 | pm_runtime_get_sync(priv->dev); |
349 | if (priv->meram_dev && priv->meram_dev->pdev) | 349 | if (priv->meram_dev && priv->meram_dev->pdev) |
350 | pm_runtime_get_sync(&priv->meram_dev->pdev->dev); | 350 | pm_runtime_get_sync(&priv->meram_dev->pdev->dev); |
@@ -358,7 +358,7 @@ static void sh_mobile_lcdc_clk_off(struct sh_mobile_lcdc_priv *priv) | |||
358 | pm_runtime_put_sync(&priv->meram_dev->pdev->dev); | 358 | pm_runtime_put_sync(&priv->meram_dev->pdev->dev); |
359 | pm_runtime_put(priv->dev); | 359 | pm_runtime_put(priv->dev); |
360 | if (priv->dot_clk) | 360 | if (priv->dot_clk) |
361 | clk_disable(priv->dot_clk); | 361 | clk_disable_unprepare(priv->dot_clk); |
362 | } | 362 | } |
363 | } | 363 | } |
364 | 364 | ||