summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown2018-12-13 15:36:46 +0100
committerMark Brown2018-12-13 15:36:46 +0100
commit8fe8915b6c0b5298fa547be21957b3860c39c46e (patch)
treef16772eef6506fa40fe43f53b416cd4cd4eccf6b /include/sound/soc.h
parentMAINTAINERS: Add Amlogic sound drivers entry (diff)
parentASoC: rt5660: Add a new ACPI match ID (diff)
downloadkernel-qcow2-linux-8fe8915b6c0b5298fa547be21957b3860c39c46e.tar.gz
kernel-qcow2-linux-8fe8915b6c0b5298fa547be21957b3860c39c46e.tar.xz
kernel-qcow2-linux-8fe8915b6c0b5298fa547be21957b3860c39c46e.zip
Merge branch 'for-4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-4.21 intel dep
Diffstat (limited to 'include/sound/soc.h')
-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 66aafadcf5ef..8ec1de856ee7 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1192,7 +1192,7 @@ struct snd_soc_pcm_runtime {
((i) < rtd->num_codecs) && ((dai) = rtd->codec_dais[i]); \
(i)++)
#define for_each_rtd_codec_dai_rollback(rtd, i, dai) \
- for (; ((i--) >= 0) && ((dai) = rtd->codec_dais[i]);)
+ for (; ((--i) >= 0) && ((dai) = rtd->codec_dais[i]);)
/* mixer control */