summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti
diff options
context:
space:
mode:
authorVincent Abriou <vincent.abriou@st.com>2016-02-05 16:23:20 +0100
committerVincent Abriou <vincent.abriou@st.com>2016-02-26 10:06:18 +0100
commit9b60514d889a9914a5fc3c4b9e744a70dbeb1cfd (patch)
tree89cb36f3a4180e49aa17e54920ce0378f1e5dad9 /drivers/gpu/drm/sti
parentb6bb679b5f807c5df002b2b9ef8fb651e23d932a (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/sti')
-rw-r--r--drivers/gpu/drm/sti/sti_hda.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c
index 49cce833f2c8..293a133ae9b1 100644
--- a/drivers/gpu/drm/sti/sti_hda.c
+++ b/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;
}
+ /* force to disable hd dacs at startup */
+ hda_enable_hd_dacs(hda, false);
+
return 0;
err_sysfs: