]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: j721e-evm: Fix missing unlock on error in j721e_audio_hw_params()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 3 Jul 2020 03:09:10 +0000 (03:09 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 3 Jul 2020 16:33:44 +0000 (17:33 +0100)
commita2e363700f75d0be6daada22dcdbfccd3cbf2f51
tree9f134d9858930411321347bcc0a50f9dd3f63d63
parent2b16d77002a5d832d8ecd3f11ef4c69d548c9e88
ASoC: ti: j721e-evm: Fix missing unlock on error in j721e_audio_hw_params()

Add the missing unlock before return from function j721e_audio_hw_params()
in the error handling case.

Fixes: 4a557bc50ae9 ("ASoC: ti: Add custom machine driver for j721e EVM (CPB and IVI)")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200703030910.75047-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/j721e-evm.c