]> 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)
commitd99978c6cbfa6c018a544754bd0a05ed8f4fd057
tree0580ce85def6803a572ddf053be7432c66325181
parenteeef55c331fa825bea07a192138b7664e9272b78
Revert "ALSA: hda: Fix page fault in snd_hda_codec_shutdown()"

This reverts commit df8c3c62244eebce1bafef4ccf0de46c840b4773.

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: df8c3c62244e ("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