summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/common/mtk-base-afe.h
diff options
context:
space:
mode:
authorShunli Wang <shunli.wang@mediatek.com>2019-05-16 12:54:37 +0300
committerMark Brown <broonie@kernel.org>2019-05-16 13:13:14 +0300
commit1628fc3f47717fc3c8d9cd5fd6c7bc7d3796927d (patch)
treead22cd3df801f17d2f205cdbb0b555f15633233f /sound/soc/mediatek/common/mtk-base-afe.h
parenteb1ecadb7f67dde94ef0efd3ddaed5cb6c9a65ed (diff)
downloadlinux-1628fc3f47717fc3c8d9cd5fd6c7bc7d3796927d.tar.xz
ASoC: Mediatek: add memory interface data align
This supports two data align settings. One is S32_LE and other is S24_LE. Signed-off-by: Shunli Wang <shunli.wang@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/common/mtk-base-afe.h')
-rw-r--r--sound/soc/mediatek/common/mtk-base-afe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/mediatek/common/mtk-base-afe.h b/sound/soc/mediatek/common/mtk-base-afe.h
index bd8d5e0c6843..60cb609a9790 100644
--- a/sound/soc/mediatek/common/mtk-base-afe.h
+++ b/sound/soc/mediatek/common/mtk-base-afe.h
@@ -24,7 +24,9 @@ struct mtk_base_memif_data {
int enable_reg;
int enable_shift;
int hd_reg;
+ int hd_align_reg;
int hd_shift;
+ int hd_align_mshift;
int msb_reg;
int msb_shift;
int agent_disable_reg;