aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-02-02 04:30:17 -0500
committerTakashi Iwai <tiwai@suse.de>2012-02-02 04:34:06 -0500
commitb5bcc189401c815988b7dd37611fc56f40c9139d (patch)
tree2aff7c8af0e0f0db40071d7758d2bbe918577ec5 /sound/pci/hda
parente9d010c2e8f03952e67a6fd8aed0f0dc92084ccc (diff)
ALSA: hda - Disable dynamic-power control for VIA as default
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 Cc: <stable@kernel.org> [v3.1+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_via.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 79166fb8b074..284e311040fe 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -1470,6 +1470,7 @@ static int via_build_controls(struct hda_codec *codec)
1470 struct snd_kcontrol *kctl; 1470 struct snd_kcontrol *kctl;
1471 int err, i; 1471 int err, i;
1472 1472
1473 spec->no_pin_power_ctl = 1;
1473 if (spec->set_widgets_power_state) 1474 if (spec->set_widgets_power_state)
1474 if (!via_clone_control(spec, &via_pin_power_ctl_enum)) 1475 if (!via_clone_control(spec, &via_pin_power_ctl_enum))
1475 return -ENOMEM; 1476 return -ENOMEM;