OSDN Git Service

ALSA: hda - Fix lost sound due to stream_pm ops cleanup
[uclinux-h8/linux.git] / sound / pci / hda / patch_realtek.c
index ea3af38..4641684 100644 (file)
@@ -5729,6 +5729,7 @@ static int patch_alc269(struct hda_codec *codec)
                set_beep_amp(spec, spec->gen.mixer_nid, 0x04, HDA_INPUT);
 
        codec->patch_ops = alc_patch_ops;
+       codec->patch_ops.stream_pm = snd_hda_gen_stream_pm;
 #ifdef CONFIG_PM
        codec->patch_ops.suspend = alc269_suspend;
        codec->patch_ops.resume = alc269_resume;