From: Vincent Abriou Date: Fri, 5 Feb 2016 15:23:20 +0000 (+0100) Subject: drm/sti: reset HD DACS when HDA connector is created X-Git-Tag: v4.6-rc1~61^2~3^2~17 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9b60514d889a9914a5fc3c4b9e744a70dbeb1cfd;p=karo-tx-linux.git 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 Reviewed-by: Benjamin Gaignard --- 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: