Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@ti.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com
Subject: Re: [PATCH] ASoC: jack: Push locking for jacks down to the jack
Date: Tue, 13 Mar 2012 18:23:27 +0000	[thread overview]
Message-ID: <1331663007.4426.0.camel@odin> (raw)
In-Reply-To: <1331561306-25183-1-git-send-email-broonie@opensource.wolfsonmicro.com>

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@opensource.wolfsonmicro.com>

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

      reply	other threads:[~2012-03-13 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 14:08 [PATCH] ASoC: jack: Push locking for jacks down to the jack Mark Brown
2012-03-13 18:23 ` Liam Girdwood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331663007.4426.0.camel@odin \
    --to=lrg@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=patches@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox