summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4458.h
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2021-04-20 18:44:13 +0800
committerMark Brown <broonie@kernel.org>2021-04-20 17:25:51 +0100
commit7342db3cddcd1d8ff54f4dff8c942e04232f1d6d (patch)
tree82b81596a02aaec3beffc73a3c378b6caea0a096 /sound/soc/codecs/ak4458.h
parentec1af6c64db94e4f24e53011a77b2bf2220ae000 (diff)
downloadlinux-stable-7342db3cddcd1d8ff54f4dff8c942e04232f1d6d.tar.gz
linux-stable-7342db3cddcd1d8ff54f4dff8c942e04232f1d6d.tar.bz2
linux-stable-7342db3cddcd1d8ff54f4dff8c942e04232f1d6d.zip
ASoC: ak4458: enable daisy chain
Enable Daisy Chain if in TDM mode and the number of played channels is bigger than the maximum supported number of channels. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1618915453-29445-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ak4458.h')
-rw-r--r--sound/soc/codecs/ak4458.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/ak4458.h b/sound/soc/codecs/ak4458.h
index 9548c5d78621..9ad869575f8d 100644
--- a/sound/soc/codecs/ak4458.h
+++ b/sound/soc/codecs/ak4458.h
@@ -82,6 +82,7 @@
* */
#define AK4458_ATS_SHIFT 6
#define AK4458_ATS_MASK GENMASK(7, 6)
+#define AK4458_DCHAIN_MASK (0x1 << 1)
#define AK4458_DSDSEL_MASK (0x1 << 0)
#define AK4458_DP_MASK (0x1 << 7)