[PATCH] ASoC: atmel_ssc_dai: Handle errors for clk_enable
Mark Brown
broonie at kernel.org
Tue Mar 1 13:46:25 CET 2022
On Tue, Mar 01, 2022 at 12:18:32PM +0100, Alexandre Belloni wrote:
> On 01/03/2022 17:06:37+0800, Jiasheng Jiang wrote:
> > As the potential failure of the clk_enable(),
> > it should be better to check it and return error if fals.
> As I already replied to an earlier patch, this will never, ever fail,
> this patch doesn't fix anything.
OTOH it doesn't do too much harm to have the error checking and it means
people don't have to check if this is a case where it doesn't matter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220301/5f810509/attachment.sig>
More information about the Alsa-devel
mailing list