Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8111b18 authored by Stefan Agner's avatar Stefan Agner Committed by Greg Kroah-Hartman
Browse files

drm/fsl-dcu: avoid disabling pixel clock twice on suspend



commit 9306e996 upstream.

With commit 0a70c998 ("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: 0a70c998 ("drm/fsl-dcu: enable pixel clock when enabling CRTC")
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 51a2a68f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment