diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-20 13:21:03 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-20 13:31:18 -0400 |
commit | 967b1307b69b8ada8b331e01046ad1ef83742e99 (patch) | |
tree | 4974dfe19444e6b75223d616a1f63982c299bc02 /sound/pci/hda/patch_sigmatel.c | |
parent | 6b275b140094b701f7ad15272f0597e9d954e5e4 (diff) |
ALSA: hda - Rename power_mgmt flag with power_save_node
David suggested that the name "power_mgmt" is too ambiguous. Rename
the flag with a bit clearer one "power_save_node".
Also, add the corresponding description to HD-Audio.txt, too.
Reported-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 7e531d5cde51..5b7c173adcb8 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4494,7 +4494,7 @@ static int patch_stac92hd73xx(struct hda_codec *codec) | |||
4494 | return err; | 4494 | return err; |
4495 | 4495 | ||
4496 | spec = codec->spec; | 4496 | spec = codec->spec; |
4497 | codec->power_mgmt = 1; | 4497 | codec->power_save_node = 1; |
4498 | spec->linear_tone_beep = 0; | 4498 | spec->linear_tone_beep = 0; |
4499 | spec->gen.mixer_nid = 0x1d; | 4499 | spec->gen.mixer_nid = 0x1d; |
4500 | spec->have_spdif_mux = 1; | 4500 | spec->have_spdif_mux = 1; |
@@ -4600,7 +4600,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec) | |||
4600 | codec->epss = 0; /* longer delay needed for D3 */ | 4600 | codec->epss = 0; /* longer delay needed for D3 */ |
4601 | 4601 | ||
4602 | spec = codec->spec; | 4602 | spec = codec->spec; |
4603 | codec->power_mgmt = 1; | 4603 | codec->power_save_node = 1; |
4604 | spec->linear_tone_beep = 0; | 4604 | spec->linear_tone_beep = 0; |
4605 | spec->gen.own_eapd_ctl = 1; | 4605 | spec->gen.own_eapd_ctl = 1; |
4606 | spec->gen.power_down_unused = 1; | 4606 | spec->gen.power_down_unused = 1; |
@@ -4650,7 +4650,7 @@ static int patch_stac92hd95(struct hda_codec *codec) | |||
4650 | codec->epss = 0; /* longer delay needed for D3 */ | 4650 | codec->epss = 0; /* longer delay needed for D3 */ |
4651 | 4651 | ||
4652 | spec = codec->spec; | 4652 | spec = codec->spec; |
4653 | codec->power_mgmt = 1; | 4653 | codec->power_save_node = 1; |
4654 | spec->linear_tone_beep = 0; | 4654 | spec->linear_tone_beep = 0; |
4655 | spec->gen.own_eapd_ctl = 1; | 4655 | spec->gen.own_eapd_ctl = 1; |
4656 | spec->gen.power_down_unused = 1; | 4656 | spec->gen.power_down_unused = 1; |
@@ -4692,7 +4692,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec) | |||
4692 | return err; | 4692 | return err; |
4693 | 4693 | ||
4694 | spec = codec->spec; | 4694 | spec = codec->spec; |
4695 | codec->power_mgmt = 1; | 4695 | codec->power_save_node = 1; |
4696 | spec->linear_tone_beep = 0; | 4696 | spec->linear_tone_beep = 0; |
4697 | spec->gen.own_eapd_ctl = 1; | 4697 | spec->gen.own_eapd_ctl = 1; |
4698 | spec->gen.power_down_unused = 1; | 4698 | spec->gen.power_down_unused = 1; |