Explorar o código

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>
Takashi Iwai %!s(int64=10) %!d(string=hai) anos
pai
achega
cfd3113e7c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      sound/pci/hda/patch_via.c

+ 1 - 0
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,