From: Takashi Iwai Date: Thu, 2 Feb 2012 09:30:17 +0000 (+0100) Subject: ALSA: hda - Disable dynamic-power control for VIA as default X-Git-Tag: v3.2.6~79 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1e7c37777276bcae0ead904309644422bace8608;p=karo-tx-linux.git ALSA: hda - Disable dynamic-power control for VIA as default commit b5bcc189401c815988b7dd37611fc56f40c9139d upstream. Since the dynamic pin power-control and the analog low-current mode may lead to pop-noise, it's safer to set it off as default. Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=741128 Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index d2a477d54c07..a0a3f5002b4f 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -1460,6 +1460,7 @@ static int via_build_controls(struct hda_codec *codec) struct snd_kcontrol *kctl; int err, i; + spec->no_pin_power_ctl = 1; if (spec->set_widgets_power_state) if (!via_clone_control(spec, &via_pin_power_ctl_enum)) return -ENOMEM;