Commit d5ce39c4 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Zheng Zengkai
Browse files

ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()

stable inclusion
from stable-v5.10.89
commit cd9c90682b2f23432e457fb14e5260e9c07a4223
bugzilla: 186140 https://gitee.com/openeuler/kernel/issues/I4S8HA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cd9c90682b2f23432e457fb14e5260e9c07a4223



--------------------------------

[ Upstream commit 1bcd3266 ]

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: 6ae9ca9c ("ASoC: meson: aiu: add i2s and spdif support")
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20211206210804.2512999-2-martin.blumenstingl@googlemail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ddfc6d67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment