[alsa-devel] [PATCH] ASoC: jack: Push locking for jacks down to the jack

Liam Girdwood lrg at ti.com
Tue Mar 13 19:23:27 CET 2012

On Mon, 2012-03-12 at 14:08 +0000, Mark Brown wrote:
> Currently operations on jack reporting take the CODEC mutex both to protect
> the current jack status and also to protect the DAPM run which is triggered
> on status updates. Since the addition of a DAPM-specific lock we no longer
> need to worry about locking DAPM as it has its own finer grained lock so
> create a per jack lock to take care of the jack status.
> This is both cleaner where the jack isn't specifically associated with a
> CODEC and clearer as it's much more obvious what the lock is protecting.
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

Acked-by: Liam Girdwood <lrg at ti.com>

More information about the Alsa-devel mailing list