[PATCH RESEND] ARM: pxa: pxa2xx-ac97-lib: fix return value check of platform_get_irq()

Takashi Iwai tiwai at suse.de
Sat Oct 29 10:46:51 CEST 2022


On Sat, 29 Oct 2022 10:20:01 +0200,
Yang Yingliang wrote:
> 
> platform_get_irq() returns negative error number on failure, fix the
> return value check in pxa2xx_ac97_hw_probe() and assign the error code
> to 'ret'.
> 
> Fixes: 2548e6c76ebf ("ARM: pxa: pxa2xx-ac97-lib: use IRQ resource")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list