ASoC: ti: davinci-i2s: 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: 5f9a50c3 ("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.cnSigned-off-by: Mark Brown <broonie@kernel.org>
Showing
Please register or sign in to comment