aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-04-09 09:23:59 -0400
committerTakashi Iwai <tiwai@suse.de>2015-04-09 09:23:59 -0400
commitcfd3113e7cc358b68bc13a2ca46714b0445dca56 (patch)
tree005be5d19cb5093a376c2bec18c459bec6dd85f2 /sound/pci
parentcffd39668177afe5566104a2f289242c3c5ce3d1 (diff)
ALSA: hda/via - Add missing stream_pm ops setup
Similar like the case for Realtek, VIA codec driver needs this ops as well for making the widget power-save working. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_via.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 742087ef378f..31a95cca015d 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -472,6 +472,7 @@ 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,
475#ifdef CONFIG_PM 476#ifdef CONFIG_PM
476 .suspend = via_suspend, 477 .suspend = via_suspend,
477 .check_power_status = via_check_power_status, 478 .check_power_status = via_check_power_status,