All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: "Babu, Ramesh" <ramesh.babu@intel.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Liam Girdwood <lrg@ti.com>
Subject: Re: Using sync dapm_sync in stream_event call back
Date: Wed, 7 Nov 2012 15:47:30 +0100	[thread overview]
Message-ID: <20121107144728.GH20844@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <32F4D3A311A1404B92CF923AFF38C3C529E715@BGSMSX101.gar.corp.intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 444 bytes --]

On Wed, Nov 07, 2012 at 09:53:14AM +0000, Babu, Ramesh wrote:

> In my machine driver, I need to disable a widget in stream_event call back.
> I realized that I cannot invoke dapm_sync() inside the stream_event, because it causes recursive lock.

> How can I disable a pin (widget) inside stream_event call back?

This doesn't sound like something that really makes sense within the
model DAPM has.  What are you actually trying to accomplish?

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2012-11-07 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07  9:53 Using sync dapm_sync in stream_event call back Babu, Ramesh
2012-11-07 14:47 ` Mark Brown [this message]
2012-11-08  4:28   ` Babu, Ramesh
2012-11-09 13:26     ` Mark Brown

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=20121107144728.GH20844@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lrg@ti.com \
    --cc=ramesh.babu@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.