ALSA: hda/generic - Don't override power_filter when power_save_node is set
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 08:28:15 +0000 (10:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 08:34:00 +0000 (10:34 +0200)
commit24fef9022a83d789ee372a393ea4782dc22b9b51
tree347f95b86bc6658499de9d2f53088adedb83b61d
parentb6c09b3c7b54743cbc58af8c27bbae8299c4f8cc
ALSA: hda/generic - Don't override power_filter when power_save_node is set

Currently the generic parser sets codec->power_filter when
power_save_node flag is set.  But this overrides the existing filter
that has been already set by the codec driver, thus it looses some
features.  Instead, set the default power_filter only when it's not
set yet.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c