diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-02-28 11:15:40 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 14:18:08 +0200 |
commit | e0cfb41d4635df9b340a9bb8ad82f674b2bd06fa (patch) | |
tree | 62219fddcce17129e250f4aa9c3874e1c08f0d6a /sound/spi | |
parent | 3905742f93b4c7232aab30e7b8c6ad7b9efc2d64 (diff) |
ASoC: ti: davinci-i2s: Add check for clk_enable()
[ Upstream commit ed7c9fef11931fc5d32a83d68017ff390bf5c280 ]
As the potential failure of the clk_enable(),
it should be better to check it and return error
if fails.
Fixes: 5f9a50c3e55e ("ASoC: Davinci: McBSP: add device tree support for McBSP")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20220228031540.3571959-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/spi')
0 files changed, 0 insertions, 0 deletions