diff options
author | Stefan Agner <stefan@agner.ch> | 2017-11-09 15:39:56 +0100 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2017-11-14 17:19:23 +0100 |
commit | 9306e996574f7f57136a62e49cd0075f85713623 (patch) | |
tree | c7faa1d715bf1260cc9c078cd5dd1bf2287a42e0 /drivers/gpu/drm/fsl-dcu | |
parent | daee54263c1202cbdab85c5e15ae30b417602efb (diff) | |
download | blackbird-op-linux-9306e996574f7f57136a62e49cd0075f85713623.tar.gz blackbird-op-linux-9306e996574f7f57136a62e49cd0075f85713623.zip |
drm/fsl-dcu: avoid disabling pixel clock twice on suspend
With commit 0a70c998d0c5 ("drm/fsl-dcu: enable pixel clock when
enabling CRTC") the pixel clock is controlled by the CRTC code.
Disabling the pixel clock in suspend leads to a warning due to
the second clk_disable_unprepare call:
WARNING: CPU: 0 PID: 359 at drivers/clk/clk.c:594 clk_core_disable+0x8c/0x90
Remove clk_disable_unprepare call for pixel clock to avoid
unbalanced clock disable on suspend.
Fixes: 0a70c998d0c5 ("drm/fsl-dcu: enable pixel clock when enabling CRTC")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'drivers/gpu/drm/fsl-dcu')
-rw-r--r-- | drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c index 58e9e0601a61..90ad509c7c45 100644 --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c @@ -210,7 +210,6 @@ static int fsl_dcu_drm_pm_suspend(struct device *dev) return PTR_ERR(fsl_dev->state); } - clk_disable_unprepare(fsl_dev->pix_clk); clk_disable_unprepare(fsl_dev->clk); return 0; |