summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-09-18 01:28:30 +0000
committerMark Brown <broonie@kernel.org>2018-09-20 10:17:05 -0700
commit6d11b12879144da5f5aa08071a8a7f95f3b5a4e8 (patch)
tree9ec9d3403d7566b38078cbcb06155aa1a9520221 /include/sound
parent7afecb3073e357ebfe4087e4ab8bb493c32bb652 (diff)
downloadlinux-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.h2
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]);)