[alsa-devel] [PATCH] ASoC: Remove locking in snd_soc_{new, free}_ac97_codec()

Mark Brown broonie at kernel.org
Tue Sep 23 03:20:07 CEST 2014


On Tue, Sep 23, 2014 at 12:56:28AM +0200, Lars-Peter Clausen wrote:
> snd_soc_new_ac97_codec() and snd_soc_free_ac97_codec() are called from
> within a CODEC's probe() and remove() callbacks. Those will not run
> concurrently against each other for the same CODEC instance, hence it is not
> necessary to protect the two functions with a mutex.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140922/5e605ade/attachment.sig>


More information about the Alsa-devel mailing list