Skip to content
Commit cea3a330 authored by Philippe CORNU's avatar Philippe CORNU Committed by Archit Taneja
Browse files

drm/stm: ltdc: Fix leak of px clk enable in some error paths



The pixel clock gets enabled early during init, since it's required
in order to read registers. This pixel clock must be disabled if
errors during this init phase.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Acked-by: default avatarPhilippe Cornu <philippe.cornu@st.com>
Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1500277223-29553-2-git-send-email-philippe.cornu@st.com
parent ad364f44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment