]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:52 +0000 (14:22 -0300)
commit9000de6f23d01b664ae8bf13eb502e307fd6420a
tree1146afdd1305f935d071dda92c6505dc2d9e1173
parent7d5d5875b6459c5e47ffdac9a4adf364fb3a5654
ASoC: stm32: sai: add restriction on mmap support

BugLink: https://bugs.launchpad.net/bugs/1855306
[ 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>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/soc/stm/stm32_sai_sub.c