]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mxs-saif: Handle errors for clk_enable
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Tue, 1 Mar 2022 08:17:17 +0000 (16:17 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2022 13:45:21 +0000 (13:45 +0000)
commit826a037e4271a73e968ed2dba69c547f66d7f0d9
tree711de1ebfdffceb270a8cd3406ecbe085d4939ad
parenta3c6355eba878331dbc7d2f89726c4cd99ae41e2
ASoC: mxs-saif: Handle errors for clk_enable

As the potential failure of the clk_enable(),
it should be better to check it, like mxs_saif_trigger().

Fixes: 2425236ba465 ("ASoC: mxs-saif: set a base clock rate for EXTMASTER mode work")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220301081717.3727190-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-saif.c