From: Takashi Iwai Date: Thu, 9 Apr 2015 13:23:59 +0000 (+0200) Subject: ALSA: hda/via - Add missing stream_pm ops setup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cfd3113e7cc358b68bc13a2ca46714b0445dca56;p=linux-beck.git 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 --- 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 = { .init = via_init, .free = via_free, .unsol_event = snd_hda_jack_unsol_event, + .stream_pm = snd_hda_gen_stream_pm, #ifdef CONFIG_PM .suspend = via_suspend, .check_power_status = via_check_power_status,