drm/fsl-dcu: avoid disabling pixel clock twice on suspend
commit9306e99657
upstream. With commit0a70c998d0
("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:0a70c998d0
("drm/fsl-dcu: enable pixel clock when enabling CRTC") Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
51a2a68fde
commit
c8111b1885
@ -210,7 +210,6 @@ static int fsl_dcu_drm_pm_suspend(struct device *dev)
|
|||||||
return PTR_ERR(fsl_dev->state);
|
return PTR_ERR(fsl_dev->state);
|
||||||
}
|
}
|
||||||
|
|
||||||
clk_disable_unprepare(fsl_dev->pix_clk);
|
|
||||||
clk_disable_unprepare(fsl_dev->clk);
|
clk_disable_unprepare(fsl_dev->clk);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user