]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ALSA: hda: Fix page fault in snd_hda_codec_shutdown()"
authorTakashi Iwai <tiwai@suse.de>
Fri, 15 Jul 2022 18:29:03 +0000 (20:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Jul 2022 18:29:40 +0000 (20:29 +0200)
commitf89fdb1a4f5eb03bedb5c33ef50177924b5706e7
tree0580ce85def6803a572ddf053be7432c66325181
parentbd6b892a0fb361514cb8f26c72e7ee1c7f3f6e48
Revert "ALSA: hda: Fix page fault in snd_hda_codec_shutdown()"

This reverts commit 9a52fd81e4b1d3d493a40c1a073d695cfa310a0b.

The commit didn't consider the fact that ASoC hdac-hda driver
initializes the HD-audio stuff without calling
snd_hda_codec_device_init().  Hence this caused a regression leading
to Oops.

Revert the commit to restore the behavior.

Fixes: 9a52fd81e4b1 ("ALSA: hda: Fix page fault in snd_hda_codec_shutdown()")
Link: https://lore.kernel.org/r/3c40df55-3aee-1e08-493b-7b30cd84dc00@linux.intel.com
Link: https://lore.kernel.org/r/20220715182903.19594-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c