Re: [PATCH] ASoC: atmel_ssc_dai: Handle errors for clk_enable

From: Mark Brown
Date: Tue Mar 01 2022 - 07:46:38 EST


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.

Attachment: signature.asc
Description: PGP signature