Browse Source

drm/sti: reset HD DACS when HDA connector is created

Make sure the HD DACS are disabled when the HDA connector
is created.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Vincent Abriou 9 years ago
parent
commit
9b60514d88
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/gpu/drm/sti/sti_hda.c

+ 3 - 0
drivers/gpu/drm/sti/sti_hda.c

@@ -685,6 +685,9 @@ static int sti_hda_bind(struct device *dev, struct device *master, void *data)
 		goto err_sysfs;
 		goto err_sysfs;
 	}
 	}
 
 
+	/* force to disable hd dacs at startup */
+	hda_enable_hd_dacs(hda, false);
+
 	return 0;
 	return 0;
 
 
 err_sysfs:
 err_sysfs: