Commit 0a1dc29d authored by Vincent Abriou's avatar Vincent Abriou

drm/sti: add missing encoder cleanup for DVO connector

Signed-off-by: default avatarVincent Abriou <vincent.abriou@st.com>
Reviewed-by: default avatarBenjamin Gaignard <benjamin.gaignard@linaro.org>
parent 974c3bb5
...@@ -653,6 +653,10 @@ static void sti_tvout_destroy_encoders(struct sti_tvout *tvout) ...@@ -653,6 +653,10 @@ static void sti_tvout_destroy_encoders(struct sti_tvout *tvout)
if (tvout->hda) if (tvout->hda)
drm_encoder_cleanup(tvout->hda); drm_encoder_cleanup(tvout->hda);
tvout->hda = NULL; 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) static int sti_tvout_bind(struct device *dev, struct device *master, void *data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment