]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/stm: ltdc: Fix leak of px clk enable in some error paths
authorPhilippe CORNU <philippe.cornu@st.com>
Mon, 17 Jul 2017 07:40:17 +0000 (09:40 +0200)
committerArchit Taneja <architt@codeaurora.org>
Tue, 18 Jul 2017 06:36:41 +0000 (12:06 +0530)
commitcea3a330ee20e90011b10fc03944664e767e0dd2
treede7610904fa06171ba5c3e1f4e9b6fbb704c2311
parentad364f447e367a4b997cc75093600663caeedb68
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: Eric Anholt <eric@anholt.net>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1500277223-29553-2-git-send-email-philippe.cornu@st.com
drivers/gpu/drm/stm/ltdc.c