mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
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>
This commit is contained in:
parent
e9d010c2e8
commit
b5bcc18940
1 changed files with 1 additions and 0 deletions
|
@ -1470,6 +1470,7 @@ static int via_build_controls(struct hda_codec *codec)
|
||||||
struct snd_kcontrol *kctl;
|
struct snd_kcontrol *kctl;
|
||||||
int err, i;
|
int err, i;
|
||||||
|
|
||||||
|
spec->no_pin_power_ctl = 1;
|
||||||
if (spec->set_widgets_power_state)
|
if (spec->set_widgets_power_state)
|
||||||
if (!via_clone_control(spec, &via_pin_power_ctl_enum))
|
if (!via_clone_control(spec, &via_pin_power_ctl_enum))
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue