diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-24 17:32:56 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-24 17:55:52 +0100 |
commit | 55196fffc951059bb89f97ba53203acb9f87a6f1 (patch) | |
tree | 8201219132adc1e47d988c586c82a1c5d6f1d6a3 /sound/pci/hda/hda_generic.h | |
parent | 9040d102da5635abc306372bb4dbffaba92c478e (diff) |
ALSA: hda - Implement path-based power filter to the generic parser
This patch adds a better power filter hook for powering down unused
widgets in the generic parser.
The feature is enabled by setting hda_gen_spec.power_down_unused
flag.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r-- | sound/pci/hda/hda_generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index d226856b2dfa..065fcc77b860 100644 --- a/sound/pci/hda/hda_generic.h +++ b/sound/pci/hda/hda_generic.h @@ -211,6 +211,7 @@ struct hda_gen_spec { unsigned int add_stereo_mix_input:1; /* add aamix as a capture src */ unsigned int add_out_jack_modes:1; /* add output jack mode enum ctls */ unsigned int add_in_jack_modes:1; /* add input jack mode enum ctls */ + unsigned int power_down_unused:1; /* power down unused widgets */ /* other internal flags */ unsigned int no_analog:1; /* digital I/O only */ |