Skip to content

Commit

Permalink
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
Browse files Browse the repository at this point in the history
  • Loading branch information
broonie committed Mar 13, 2016
2 parents 89595f5 + e066ea2 commit a1eb300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2805,7 +2805,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dapm_add_routes);
int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
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);
for (i = 0; i < num; i++) {
Expand All @@ -2814,7 +2814,7 @@ int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
}
mutex_unlock(&dapm->card->dapm_mutex);

return ret;
return 0;
}
EXPORT_SYMBOL_GPL(snd_soc_dapm_del_routes);

Expand Down

0 comments on commit a1eb300

Please sign in to comment.