drm/sti: reset HD DACS when HDA connector is created
authorVincent Abriou <vincent.abriou@st.com>
Fri, 5 Feb 2016 15:23:20 +0000 (16:23 +0100)
committerVincent Abriou <vincent.abriou@st.com>
Fri, 26 Feb 2016 09:06:18 +0000 (10:06 +0100)
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>
drivers/gpu/drm/sti/sti_hda.c

index 49cce83..293a133 100644 (file)
@@ -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: