diff options
-rw-r--r-- | sound/pci/hda/hda_generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index f0475a19fad7..3d2597b7037b 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c | |||
@@ -4918,7 +4918,8 @@ int snd_hda_gen_parse_auto_config(struct hda_codec *codec, | |||
4918 | parse_digital(codec); | 4918 | parse_digital(codec); |
4919 | 4919 | ||
4920 | if (spec->power_down_unused || codec->power_save_node) | 4920 | if (spec->power_down_unused || codec->power_save_node) |
4921 | codec->power_filter = snd_hda_gen_path_power_filter; | 4921 | if (!codec->power_filter) |
4922 | codec->power_filter = snd_hda_gen_path_power_filter; | ||
4922 | 4923 | ||
4923 | if (!spec->no_analog && spec->beep_nid) { | 4924 | if (!spec->no_analog && spec->beep_nid) { |
4924 | err = snd_hda_attach_beep_device(codec, spec->beep_nid); | 4925 | err = snd_hda_attach_beep_device(codec, spec->beep_nid); |