diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-01 17:06:37 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 14:18:08 +0200 |
commit | af6e1d11f758c0ccfdfd5becd3ce961e215c4bf9 (patch) | |
tree | c17d0ffd4705362a7bf5c975a24ab8417e1f94ad /sound/soc/soc-compress.c | |
parent | fd0c4082fd1402fcb4f3c0f964f534aedc65f733 (diff) |
ASoC: atmel_ssc_dai: Handle errors for clk_enable
[ Upstream commit f9e2ca0640e59d19af0ff285ee5591ed39069b09 ]
As the potential failure of the clk_enable(),
it should be better to check it and return error if fals.
Fixes: cbaadf0f90d6 ("ASoC: atmel_ssc_dai: refactor the startup and shutdown")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220301090637.3776558-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/soc-compress.c')
0 files changed, 0 insertions, 0 deletions