Commit cfd3113e authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarTakashi Iwai <tiwai@suse.de>
parent cffd3966
...@@ -472,6 +472,7 @@ static const struct hda_codec_ops via_patch_ops = { ...@@ -472,6 +472,7 @@ static const struct hda_codec_ops via_patch_ops = {
.init = via_init, .init = via_init,
.free = via_free, .free = via_free,
.unsol_event = snd_hda_jack_unsol_event, .unsol_event = snd_hda_jack_unsol_event,
.stream_pm = snd_hda_gen_stream_pm,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.suspend = via_suspend, .suspend = via_suspend,
.check_power_status = via_check_power_status, .check_power_status = via_check_power_status,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment