ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE
PATCH 1/1 ASoC: soc-dapm: Use ASYNC_DOMAIN_EXCLUSIVE
From: Fabio Estevam <[email protected]>
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
---
Build tested only.
sound/soc/soc-dapm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-dapm.c +1 -1
@@ -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);
Signature · 1 line
1.7.1
Quoted 4 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
commit
e895407d(async: introduce 'async_domain' type)
changed the parameter types ofasync_schedule_domain()andasync_synchronize_full_domain().
but obviously this needs to go along with the patckes introducing the issue rather than the ASoC tree.