mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 18:44:44 +08:00
drm/sti: add missing encoder cleanup for DVO connector
Signed-off-by: Vincent Abriou <vincent.abriou@st.com> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
This commit is contained in:
parent
974c3bb511
commit
0a1dc29db3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user