diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-09-18 01:28:30 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-20 10:17:05 -0700 |
commit | 6d11b12879144da5f5aa08071a8a7f95f3b5a4e8 (patch) | |
tree | 9ec9d3403d7566b38078cbcb06155aa1a9520221 /include/sound | |
parent | 7afecb3073e357ebfe4087e4ab8bb493c32bb652 (diff) | |
download | linux-stable-6d11b12879144da5f5aa08071a8a7f95f3b5a4e8.tar.gz linux-stable-6d11b12879144da5f5aa08071a8a7f95f3b5a4e8.tar.bz2 linux-stable-6d11b12879144da5f5aa08071a8a7f95f3b5a4e8.zip |
ASoC: rename for_each_rtd_codec_dai_reverse to rollback
commit 0b7990e38971 ("ASoC: add for_each_rtd_codec_dai() macro")
added for_each_rtd_codec_dai_reverse(). but _rollback() is better
naming than _reverse(). This patch rename it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 1e093b399bc0..ec1ae9f4feeb 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1164,7 +1164,7 @@ struct snd_soc_pcm_runtime { for ((i) = 0; \ ((i) < rtd->num_codecs) && ((dai) = rtd->codec_dais[i]); \ (i)++) -#define for_each_rtd_codec_dai_reverse(rtd, i, dai) \ +#define for_each_rtd_codec_dai_rollback(rtd, i, dai) \ for (; ((i--) >= 0) && ((dai) = rtd->codec_dais[i]);) |