All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE
@ 2012-06-30 19:39 Fabio Estevam
  2012-07-01 18:11 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-06-30 19:39 UTC (permalink / raw)
  To: broonie; +Cc: Fabio Estevam, dan.j.williams, lrg, alsa-devel

From: Fabio Estevam <fabio.estevam@freescale.com>

commit e895407d (async: introduce 'async_domain' type)
changed the parameter types of async_schedule_domain() and async_synchronize_full_domain().

Use ASYNC_DOMAIN_EXCLUSIVE and fix the following build warnings:

sound/soc/soc-dapm.c:1646:6: warning: passing argument 3 of 'async_schedule_domain' from incompatible pointer type
sound/soc/soc-dapm.c:1647:2: warning: passing argument 1 of 'async_synchronize_full_domain' from incompatible pointer type
sound/soc/soc-dapm.c:1660:6: warning: passing argument 3 of 'async_schedule_domain' from incompatible pointer type
sound/soc/soc-dapm.c:1661:2: warning: passing argument 1 of 'async_synchronize_full_domain' from incompatible pointer type

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Build tested only.

 sound/soc/soc-dapm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 9670668..c93e832 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1572,7 +1572,7 @@ static int dapm_power_widgets(struct snd_soc_dapm_context *dapm, int event)
 	struct snd_soc_dapm_context *d;
 	LIST_HEAD(up_list);
 	LIST_HEAD(down_list);
-	LIST_HEAD(async_domain);
+	ASYNC_DOMAIN_EXCLUSIVE(async_domain);
 	enum snd_soc_bias_level bias;
 
 	trace_snd_soc_dapm_start(card);
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE
  2012-06-30 19:39 [PATCH] ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE Fabio Estevam
@ 2012-07-01 18:11 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-07-01 18:11 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Fabio Estevam, dan.j.williams, lrg, alsa-devel


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

On Sat, Jun 30, 2012 at 04:39:35PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> commit e895407d (async: introduce 'async_domain' type)
> changed the parameter types of async_schedule_domain() and async_synchronize_full_domain().

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

but obviously this needs to go along with the patckes introducing the
issue rather than the ASoC tree.

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

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-01 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-30 19:39 [PATCH] ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE Fabio Estevam
2012-07-01 18:11 ` Mark Brown

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.