aboutsummaryrefslogtreecommitdiff
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown2020-09-17 16:35:38 +0100
committerMark Brown2020-09-17 16:35:38 +0100
commit4db68e62a0b912655c598de829b05b2383da0cab (patch)
tree14c717646e8de62283aaa9c08b747e8db3871dbd /include/sound/soc.h
parentd70a4412e264cd8ff7a034505184c0b54876532a (diff)
parent244ac15de75ca62ed7a09c7291b67aeead9e12ac (diff)
Merge branch 'asoc-5.9' into asoc-5.10
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index b94ebff12350..09a7d8409ade 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1193,6 +1193,8 @@ struct snd_soc_pcm_runtime {
((i) < (rtd)->num_cpus + (rtd)->num_codecs) && \
((dai) = (rtd)->dais[i]); \
(i)++)
+#define for_each_rtd_dais_rollback(rtd, i, dai) \
+ for (; (--(i) >= 0) && ((dai) = (rtd)->dais[i]);)
void snd_soc_close_delayed_work(struct snd_soc_pcm_runtime *rtd);