Commit 3e19fec3 authored by Takashi Iwai's avatar Takashi Iwai

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.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ffc287c8
...@@ -570,6 +570,7 @@ static struct cs_spec *cs_alloc_spec(struct hda_codec *codec, int vendor_nid) ...@@ -570,6 +570,7 @@ static struct cs_spec *cs_alloc_spec(struct hda_codec *codec, int vendor_nid)
return NULL; return NULL;
codec->spec = spec; codec->spec = spec;
spec->vendor_nid = vendor_nid; spec->vendor_nid = vendor_nid;
codec->power_save_node = 1;
snd_hda_gen_spec_init(&spec->gen); snd_hda_gen_spec_init(&spec->gen);
return spec; return spec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment