ASoC: SOF: remove unregister calls from shutdown
authorMark Brown <broonie@kernel.org>
Mon, 12 Dec 2022 19:10:01 +0000 (19:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 12 Dec 2022 19:10:01 +0000 (19:10 +0000)
commit73740235a68d61f5eaee2425a0baaf610f4e4b17
tree1639eeef2366962adefc34380b826d9f4d5ef411
parent0612d748003ce7bcd0d67a8d270900fcdadb1009
parent44fda61d2bcfb74a942df93959e083a4e8eff75f
ASoC: SOF: remove unregister calls from shutdown

Merge series from Kai Vehmanen <kai.vehmanen@linux.intel.com>:

This patchset is an alternative solution to problems
reported by Ricardo Ribalda <ribalda@chromium.org> and
Zhen Ni <nizhen@uniontech.com>, as discussed in

- "[PATCH] ALSA: core: Fix deadlock when shutdown a frozen userspace"
 https://mailman.alsa-project.org/pipermail/alsa-devel/2022-November/209248.html

- "[PATCH] ASoc: SOF: Fix sof-audio-pci-intel-tgl shutdown timeout during hibernation"
  https://mailman.alsa-project.org/pipermail/alsa-devel/2022-December/209685.html

It was raised by Oliver Neukum <oneukum@suse.com> that kernel should
not let user-space stall the shutdown process in any scenario and the
unregister call in current SOF shutdown code is not right.

This series reverts the ASoC SOF patch to unregister clients and
the machine drivers at shutdown. To avoid bringing back old bugs,
the series includes a patch to fix S5 entry on certain Intel
platforms.