ASoC: sti: fix possible sleep-in-atomic
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Mon, 13 Jan 2020 10:04:00 +0000 (11:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 21:22:46 +0000 (21:22 +0000)
commit422566f37e37ed4f1534f7d558ebe04c07e45373
treed93c9a3a4a0c9b6fc3327b4cab34f04349d1bd5a
parent99ced2ecfe9ee41b25c6e663a57cd2e1d9bd9a81
ASoC: sti: fix possible sleep-in-atomic

[ Upstream commit ce780a47c3c01e1e179d0792df6b853a913928f1 ]

Change mutex and spinlock management to avoid sleep
in atomic issue.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Link: https://lore.kernel.org/r/20200113100400.30472-1-arnaud.pouliquen@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sti/uniperif_player.c