diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-05-27 02:37:19 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-05-27 02:39:27 -0400 |
commit | 49fb18972581a781658a4637de76e6069ed5964e (patch) | |
tree | 0b46b3199c7ed5bdc5374ce10b2d3c7ae28d2421 /sound/pci/hda/patch_via.c | |
parent | 823245026ead28a244cb9df5ae79b511da128606 (diff) |
ALSA: hda - Set stream_pm ops automatically by generic parser
This allows user to test power_save_node feature via sysfs or patch
firmware even on the codecs that don't specify it. It'll also save a
few lines.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r-- | sound/pci/hda/patch_via.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 31a95cca015d..742087ef378f 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c | |||
@@ -472,7 +472,6 @@ static const struct hda_codec_ops via_patch_ops = { | |||
472 | .init = via_init, | 472 | .init = via_init, |
473 | .free = via_free, | 473 | .free = via_free, |
474 | .unsol_event = snd_hda_jack_unsol_event, | 474 | .unsol_event = snd_hda_jack_unsol_event, |
475 | .stream_pm = snd_hda_gen_stream_pm, | ||
476 | #ifdef CONFIG_PM | 475 | #ifdef CONFIG_PM |
477 | .suspend = via_suspend, | 476 | .suspend = via_suspend, |
478 | .check_power_status = via_check_power_status, | 477 | .check_power_status = via_check_power_status, |