projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974c3bb
)
drm/sti: add missing encoder cleanup for DVO connector
author
Vincent Abriou
<vincent.abriou@st.com>
Fri, 5 Feb 2016 08:31:18 +0000
(09:31 +0100)
committer
Vincent Abriou
<vincent.abriou@st.com>
Fri, 26 Feb 2016 09:06:17 +0000
(10:06 +0100)
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
drivers/gpu/drm/sti/sti_tvout.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/sti/sti_tvout.c
b/drivers/gpu/drm/sti/sti_tvout.c
index 8092418ac65e9dd546a19f829886083774749521..e860a41b58aa9a74814d0263d4e43da215e96fbf 100644
(file)
--- a/
drivers/gpu/drm/sti/sti_tvout.c
+++ b/
drivers/gpu/drm/sti/sti_tvout.c
@@
-653,6
+653,10
@@
static void sti_tvout_destroy_encoders(struct sti_tvout *tvout)
if (tvout->hda)
drm_encoder_cleanup(tvout->hda);
tvout->hda = NULL;
+
+ if (tvout->dvo)
+ drm_encoder_cleanup(tvout->dvo);
+ tvout->dvo = NULL;
}
static int sti_tvout_bind(struct device *dev, struct device *master, void *data)