[PATCH 2/2] ASoC: SOF: Revert: "core: unregister clients and machine drivers in .shutdown"
Mark Brown
broonie at kernel.org
Fri Dec 9 14:46:25 CET 2022
On Fri, Dec 09, 2022 at 01:45:29PM +0200, Kai Vehmanen wrote:
> This reverts commit 83bfc7e793b555291785136c3ae86abcdc046887.
Please include human readable descriptions of things like commits and
issues being discussed in e-mail in your mails, this makes them much
easier for humans to read especially when they have no internet access.
I do frequently catch up on my mail on flights or while otherwise
travelling so this is even more pressing for me than just being about
making things a bit easier to read.
> - /*
> - * make sure clients and machine driver(s) are unregistered to force
> - * all userspace devices to be closed prior to the DSP shutdown sequence
> - */
> - sof_unregister_clients(sdev);
> -
> - snd_sof_machine_unregister(sdev, pdata);
> -
I am somewhat surprised that these block on the kernel side rather than
just disconnecting the kernel side of whatever userspace sees - I'd
thought they were more like hotplug operations than something blocking.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20221209/8d1a778a/attachment.sig>
More information about the Alsa-devel
mailing list