Skip to contentSkip to conversation

ALSA: hda - Enable widget power saving for Cirrus codecs

PATCH New Takashi Iwai 1 participant 1 message Oct 15, 2015 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda - Enable widget power saving for Cirrus codecs

Cirrus codecs have also fine power controls on each widget, thus it gets benefit from the recent widget power-saving feature. As we haven't seen any obvious regressions with tests on some MacBooks, let's try to enable it.

---
 sound/pci/hda/patch_cirrus.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_cirrus.c +1 -0
index 85813de26da8..01c464a468f6 100644
@@ -570,6 +570,7 @@ static struct cs_spec *cs_alloc_spec(struct hda_codec *codec, int vendor_nid)
 		return NULL;
 	codec->spec = spec;
 	spec->vendor_nid = vendor_nid;
+	codec->power_save_node = 1;
 	snd_hda_gen_spec_init(&spec->gen);
 
 	return spec;
Signature · 1 line
2.6.1