WSL2-Linux-Kernel/drivers/nfc/nfcmrvl
Krzysztof Kozlowski d13a5b86e2 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
commit 5a478a653b upstream.

The irq_of_parse_and_map() returns 0 on failure, not a negative ERRNO.

Reported-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Fixes: caf6e49bf6 ("NFC: nfcmrvl: add spi driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220627124048.296253-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-07 17:53:28 +02:00
..
Kconfig nfc: Fix Kconfig indentation 2019-11-20 12:30:40 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fw_dnld.c nfc: mrvl: constify several pointers 2021-07-29 12:28:03 +01:00
fw_dnld.h nfc: mrvl: use SPDX-License-Identifier 2021-05-31 21:31:09 -07:00
i2c.c nfc: nfcmrvl: Fix irq_of_parse_and_map() return value 2022-07-07 17:53:28 +02:00
main.c nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs 2022-05-12 12:30:10 +02:00
nfcmrvl.h nfc: mrvl: constify static nfcmrvl_if_ops 2021-07-29 12:28:03 +01:00
spi.c nfc: nfcmrvl: Fix irq_of_parse_and_map() return value 2022-07-07 17:53:28 +02:00
uart.c nfc: mrvl: constify static nfcmrvl_if_ops 2021-07-29 12:28:03 +01:00
usb.c nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred 2022-06-22 14:21:58 +02:00