]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsi: Add check for clk_enable
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Wed, 2 Mar 2022 06:28:44 +0000 (14:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2022 12:14:46 +0000 (14:14 +0200)
commitf5c1c4ba32f978c7cf7a05293b6cc7cee7c97f60
tree0e351a688813e36b9b760069f32f4ad219cf17d9
parent2ba8f6ab7824f7587c37c6326e1cfc3126dfb03f
ASoC: fsi: Add check for clk_enable

[ Upstream commit 405afed8a728f23cfaa02f75bbc8bdd6b7322123 ]

As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.

Fixes: ab6f6d85210c ("ASoC: fsi: add master clock control functions")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220302062844.46869-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sh/fsi.c