diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-10-29 10:20:01 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-10-29 10:45:27 +0200 |
commit | 46cf1954de3f324dc7f9472c12c3bd03b268a11b (patch) | |
tree | 442a88d26a6d4f1d36b037a945abc44b1ea346db /sound/pci | |
parent | ALSA: hda/realtek: Add quirk for ASUS Zenbook using CS35L41 (diff) | |
download | linux-46cf1954de3f324dc7f9472c12c3bd03b268a11b.tar.xz linux-46cf1954de3f324dc7f9472c12c3bd03b268a11b.zip |
ALSA: arm: pxa: pxa2xx-ac97-lib: fix return value check of platform_get_irq()
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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions