]> git.baikalelectronics.ru Git - kernel.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)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:14:56 +0000 (13:14 +0000)
commit1e8b79e572252ae0e6d9699a850206c639dfc1d6
treea6f1a77bea522b8e941178c337535c1a54072de9
parente793fa73d0b2fc59c6b586371647c2fbfad462fe
ASoC: fsi: Add check for clk_enable

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

Fixes: 85c1fd3e6414 ("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>
sound/soc/sh/fsi.c