ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 6 Dec 2021 21:08:03 +0000 (22:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Dec 2021 11:28:39 +0000 (12:28 +0100)
commit9b0ed41b25e20d1a660ec210d0d42572193af6fe
treebeb83ed97d3a50000c78b7e9d9fe5500607e9ca3
parent71d07ebc5000b9c1d140e99e7493b0bafa954776
ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()

[ Upstream commit 1bcd326631dc4faa3322d60b4fc45e8b3747993e ]

The FIFO registers which take an DMA-able address are only 32-bit wide
on AIU. Add dma_coerce_mask_and_coherent() to make the DMA core aware of
this limitation.

Fixes: 6ae9ca9ce986bf ("ASoC: meson: aiu: add i2s and spdif support")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20211206210804.2512999-2-martin.blumenstingl@googlemail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/meson/aiu-fifo.c