diff options
author | Mark Brown <broonie@kernel.org> | 2016-03-13 04:16:24 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-13 04:16:24 -0400 |
commit | a1eb30008c3bf540d15dfd891f306a144194ab9a (patch) | |
tree | 5fb8f0e35197f9c63c1f0e1937f6bbbde6bf91d3 | |
parent | 89595f5e29dddbf45c615c398776da9e7d3b5f4c (diff) | |
parent | e066ea2214f77e13e24344313243f9b3a182d3c4 (diff) |
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
-rw-r--r-- | sound/soc/soc-dapm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 581175a51ecf..801ae1a81dfd 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -2805,7 +2805,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_add_routes); | |||
2805 | int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm, | 2805 | int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm, |
2806 | const struct snd_soc_dapm_route *route, int num) | 2806 | const struct snd_soc_dapm_route *route, int num) |
2807 | { | 2807 | { |
2808 | int i, ret = 0; | 2808 | int i; |
2809 | 2809 | ||
2810 | mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); | 2810 | mutex_lock_nested(&dapm->card->dapm_mutex, SND_SOC_DAPM_CLASS_INIT); |
2811 | for (i = 0; i < num; i++) { | 2811 | for (i = 0; i < num; i++) { |
@@ -2814,7 +2814,7 @@ int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm, | |||
2814 | } | 2814 | } |
2815 | mutex_unlock(&dapm->card->dapm_mutex); | 2815 | mutex_unlock(&dapm->card->dapm_mutex); |
2816 | 2816 | ||
2817 | return ret; | 2817 | return 0; |
2818 | } | 2818 | } |
2819 | EXPORT_SYMBOL_GPL(snd_soc_dapm_del_routes); | 2819 | EXPORT_SYMBOL_GPL(snd_soc_dapm_del_routes); |
2820 | 2820 | ||