Re: [PATCH v2] ASoC: amd: Fix an ignored error return from platform_get_irq_byname()
From: Mark Brown
Date: Mon Apr 04 2022 - 03:41:36 EST
On Fri, Mar 04, 2022 at 08:45:43AM +0800, Yang Li wrote:
> The return from the call to platform_get_irq_byname() is int, it can be
> a negative error code, however this is being assigned to an unsigned
> int variable 'adata->i2s_irq', so assign the value to 'ret' concurrently
> to solve this problem without affecting other functions.
This doesn't apply against current code, please check and resend.
Attachment:
signature.asc
Description: PGP signature