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 14:43:45 +0000 (14:43 +0000)
commita7642b2c291382bb577e1d70aff915f385bc4418
tree183956e46940603e452bd1340c9e8ed9d7cf9110
parent678ad8eb4250dcffe65c527d9865633b9512e0cb
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