[alsa-devel] [PATCH 04/17 v2] ASoC: dapm: Add unlocked version of snd_soc_dapm_sync

Lars-Peter Clausen lars at metafoo.de
Tue Feb 18 17:14:27 CET 2014


On 02/18/2014 04:22 PM, Charles Keepax wrote:
> We will often call sync after several functions that require the DAPM
> mutex to be held. Rather than release and immediately relock the mutex
> provide an unlocked function for this situation.
>
> Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

We should add lockdep_assert() to the unlocked versions to catch broken 
users, but that can be done in a follow-up patch.


More information about the Alsa-devel mailing list