mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
This commit is contained in:
commit
a1eb30008c
@ -2805,7 +2805,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_add_routes);
|
|||||||
int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
|
int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
|
||||||
const struct snd_soc_dapm_route *route, int num)
|
const struct snd_soc_dapm_route *route, int num)
|
||||||
{
|
{
|
||||||
int i, ret = 0;
|
int i;
|
||||||
|
|
||||||
mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT);
|
mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT);
|
||||||
for (i = 0; i < num; i++) {
|
for (i = 0; i < num; i++) {
|
||||||
@ -2814,7 +2814,7 @@ int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
|
|||||||
}
|
}
|
||||||
mutex_unlock(&dapm->card->dapm_mutex);
|
mutex_unlock(&dapm->card->dapm_mutex);
|
||||||
|
|
||||||
return ret;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(snd_soc_dapm_del_routes);
|
EXPORT_SYMBOL_GPL(snd_soc_dapm_del_routes);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user