]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: hda/via - Add missing stream_pm ops setup
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 13:23:59 +0000 (15:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 13:23:59 +0000 (15:23 +0200)
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>
sound/pci/hda/patch_via.c

index 742087ef378fd52d41ade661de996a14222b9dba..31a95cca015d4d1c34a1facff2e226b6821a5203 100644 (file)
@@ -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,