OSDN Git Service

ASoC: stm32: sai: add restriction on mmap support
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 4 Nov 2019 13:36:54 +0000 (14:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:19:44 +0000 (09:19 +0100)
commit22f4892950b2b783f2e2884735549b9441faef12
tree8ce22832bffd2154a7b0a82d9191316895cb5d63
parent3f034e6889e7f0d369cba911b0b44765c320f0d9
ASoC: stm32: sai: add restriction on mmap support

[ Upstream commit eaf072e512d54c95b0977eda06cbca3151ace1e5 ]

Do not support mmap in S/PDIF mode. In S/PDIF mode
the buffer has to be copied, to allow the channel status
bits insertion.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20191104133654.28750-1-olivier.moysan@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/stm/stm32_sai_sub.c