[alsa-devel] [PATCH] ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE
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);
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.
participants (2)
-
Fabio Estevam
-
Mark Brown