[alsa-devel] Using sync dapm_sync in stream_event call back

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 7 15:47:30 CET 2012


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121107/00c9e611/attachment-0001.sig>


More information about the Alsa-devel mailing list