summaryrefslogtreecommitdiffstats
path: root/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 /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 'sound')
-rw-r--r--sound/soc/soc-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index e387fff352c8..1eff1dbb0d00 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -621,7 +621,7 @@ machine_err:
i = rtd->num_codecs;
codec_dai_err:
- for_each_rtd_codec_dai_reverse(rtd, i, codec_dai) {
+ for_each_rtd_codec_dai_rollback(rtd, i, codec_dai) {
if (codec_dai->driver->ops->shutdown)
codec_dai->driver->ops->shutdown(substream, codec_dai);
}
@@ -1015,7 +1015,7 @@ interface_err:
i = rtd->num_codecs;
codec_err:
- for_each_rtd_codec_dai_reverse(rtd, i, codec_dai) {
+ for_each_rtd_codec_dai_rollback(rtd, i, codec_dai) {
if (codec_dai->driver->ops->hw_free)
codec_dai->driver->ops->hw_free(substream, codec_dai);
codec_dai->rate = 0;