[alsa-devel] [PATCH 2/2] ASoC: DAPM - Make sure DAPM widget IO ops hold the component mutex.

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Mar 6 21:03:54 CET 2012


On Tue, Mar 06, 2012 at 06:16:19PM +0000, Liam Girdwood wrote:

> +	if (w->codec)
> +		mutex_lock(&w->codec->mutex);

Actually for CODECs we don't need to hold the CODEC mutex for I/O if
we've pushed the cache down into regmap - regmap does all the locking
for us.  I'll send a followup patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120306/61c877db/attachment.sig 


More information about the Alsa-devel mailing list