summaryrefslogtreecommitdiff
path: root/sound/soc/meson/axg-fifo.c
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2019-09-05 15:01:18 +0300
committerMark Brown <broonie@kernel.org>2019-09-05 20:17:31 +0300
commit52dd80d8f7386483bc60b2b7470e47a2e6f61d7c (patch)
tree0e671cab4ca2eaa0140e78e38062be20d2e04b47 /sound/soc/meson/axg-fifo.c
parentcde9f12e5f0d288d516c810f95c2ee4c171e0245 (diff)
downloadlinux-52dd80d8f7386483bc60b2b7470e47a2e6f61d7c.tar.xz
ASoC: meson: axg-frddr: add sm1 support
On sm1, the output routing bits have moved to CTRL2 register Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20190905120120.31752-7-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/axg-fifo.c')
-rw-r--r--sound/soc/meson/axg-fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/meson/axg-fifo.c b/sound/soc/meson/axg-fifo.c
index 80a3dde35b5c..5a3749938900 100644
--- a/sound/soc/meson/axg-fifo.c
+++ b/sound/soc/meson/axg-fifo.c
@@ -306,7 +306,7 @@ static const struct regmap_config axg_fifo_regmap_cfg = {
.reg_bits = 32,
.val_bits = 32,
.reg_stride = 4,
- .max_register = FIFO_INIT_ADDR,
+ .max_register = FIFO_CTRL2,
};
int axg_fifo_probe(struct platform_device *pdev)