]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: remove duplicate mutex_unlock from snd_soc_unregister_component()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 7 Aug 2017 02:06:40 +0000 (02:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2017 15:49:36 +0000 (16:49 +0100)
commit91d53c9e2b1052a49673e9a06cf696ed68c892d3
treec897f502b0feb19a10d004e03d679372e3b0ae53
parent185bb23fe7471a380076387a4096ac9673e74768
ASoC: soc-core: remove duplicate mutex_unlock from snd_soc_unregister_component()

Current snd_soc_unregister_component() is using multiple mutex_unlock()
for found/non-found cases. But it is unreadable and confusable code.
This patch tidyup current code to be readable.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c