diff options
Diffstat (limited to 'drivers/gpu/drm/shmobile/shmob_drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c index 54bad98e9477..562f9a401cf6 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_crtc.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_crtc.c | |||
@@ -40,7 +40,7 @@ | |||
40 | static void shmob_drm_clk_on(struct shmob_drm_device *sdev) | 40 | static void shmob_drm_clk_on(struct shmob_drm_device *sdev) |
41 | { | 41 | { |
42 | if (sdev->clock) | 42 | if (sdev->clock) |
43 | clk_enable(sdev->clock); | 43 | clk_prepare_enable(sdev->clock); |
44 | #if 0 | 44 | #if 0 |
45 | if (sdev->meram_dev && sdev->meram_dev->pdev) | 45 | if (sdev->meram_dev && sdev->meram_dev->pdev) |
46 | pm_runtime_get_sync(&sdev->meram_dev->pdev->dev); | 46 | pm_runtime_get_sync(&sdev->meram_dev->pdev->dev); |
@@ -54,7 +54,7 @@ static void shmob_drm_clk_off(struct shmob_drm_device *sdev) | |||
54 | pm_runtime_put_sync(&sdev->meram_dev->pdev->dev); | 54 | pm_runtime_put_sync(&sdev->meram_dev->pdev->dev); |
55 | #endif | 55 | #endif |
56 | if (sdev->clock) | 56 | if (sdev->clock) |
57 | clk_disable(sdev->clock); | 57 | clk_disable_unprepare(sdev->clock); |
58 | } | 58 | } |
59 | 59 | ||
60 | /* ----------------------------------------------------------------------------- | 60 | /* ----------------------------------------------------------------------------- |