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)
committerMark Brown <broonie@kernel.org>
Tue, 5 Nov 2019 18:52:21 +0000 (18:52 +0000)
commiteaf072e512d54c95b0977eda06cbca3151ace1e5
tree7cfff4a6353ac0d1f21b40f7ed14f127ebc00400
parent5dc7d5bc9627eb26d33c7c7eefc467cf217f9326
ASoC: stm32: sai: add restriction on mmap support

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>
sound/soc/stm/stm32_sai_sub.c