Skip to content
Commit b47eee2e authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix lost sound due to stream_pm ops cleanup

The commit [49fb1897: ALSA: hda - Set stream_pm ops automatically
by generic parser] resulted in regressions on some Realtek and VIA
codecs because these drivers set patch_ops after calling the generic
parser, thus stream_pm got cleared to NULL again.  I haven't noticed
since I tested with IDT codec.

Restore (partial revert) the stream_pm ops for them to fix the
regression.

Fixes: 49fb1897

 ('ALSA: hda - Set stream_pm ops automatically by generic parser')
Reported-by: default avatarJeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b40eda64
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