From 9b60514d889a9914a5fc3c4b9e744a70dbeb1cfd Mon Sep 17 00:00:00 2001 From: Vincent Abriou Date: Fri, 5 Feb 2016 16:23:20 +0100 Subject: [PATCH] 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 --- drivers/gpu/drm/sti/sti_hda.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.2