]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ak4613: add missing mutex_lock()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 5 Apr 2022 02:06:08 +0000 (02:06 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 17:49:55 +0000 (18:49 +0100)
commit40d3cef12e8c0d4b9ca758c5c6a02ae99e789941
tree47b4903ed97ea3dce7d9a577895d802a6b9798b8
parentdbb008736a8c113ef1e12b4e4b4351fac2a15ede
ASoC: ak4613: add missing mutex_lock()

We need to use mutex_lock() for priv->cnt / priv->iface,
but we are missing it at ak4613_dai_startup().
This patch adds missing mutex_lock() for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87fsmsp9m7.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4613.c