]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Wed, 4 Dec 2019 21:33:46 +0000 (22:33 +0100)
commitea4e29633d3d201f758d1448d3d3dbbf652eb940
tree9d792c9fced4eb524dc0908ea00a58e202bb669d
parentb76925dfad58aeea0cb3e4640970f7ee17f26a57
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