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@huawei.com>
Link: https://lore.kernel.org/r/20221029082001.3207380-1-yangyingliang@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||
|---|---|---|
| .. | ||
| aaci.c | ||
| aaci.h | ||
| Kconfig | ||
| Makefile | ||
| pxa2xx-ac97-lib.c | ||
| pxa2xx-ac97-regs.h | ||
| pxa2xx-ac97.c | ||
| pxa2xx-pcm-lib.c | ||