projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d010c
)
ALSA: hda - Disable dynamic-power control for VIA as default
author
Takashi Iwai
<tiwai@suse.de>
Thu, 2 Feb 2012 09:30:17 +0000
(10:30 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 2 Feb 2012 09:34:06 +0000
(10:34 +0100)
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>
sound/pci/hda/patch_via.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_via.c
b/sound/pci/hda/patch_via.c
index 79166fb8b0749d1f38a2e250933939d78aecacb8..284e311040fe39b58289bc61de556bc4815de76a 100644
(file)
--- 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)
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;