]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: hda - Disable dynamic-power control for VIA as default
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Feb 2012 09:30:17 +0000 (10:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:16:51 +0000 (11:16 -0800)
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 <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_via.c

index d2a477d54c070123687306d924259b75844538d4..a0a3f5002b4f16bdd72f3696b9787dfba58c27db 100644 (file)
@@ -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;