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.cn Signed-off-by:
Mark Brown <broonie@kernel.org>
parent
f9482022
Please register or sign in to comment