diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2023-11-02 07:51:13 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-22 12:02:53 +0000 |
commit | 6437760accfbaf1160342adeaea1a73dcd278799 (patch) | |
tree | fb8a5e23371d6536bb19cde0efc334c35ed08915 /drivers/usb/chipidea | |
parent | d990e227741692079872a8336d961ef4ab9e8aaf (diff) | |
download | linux-stable-6437760accfbaf1160342adeaea1a73dcd278799.tar.gz linux-stable-6437760accfbaf1160342adeaea1a73dcd278799.tar.bz2 linux-stable-6437760accfbaf1160342adeaea1a73dcd278799.zip |
usb: misc: eud: Add IRQ check for platform_get_irq()
The function eud_probe() should check the return value of
platform_get_irq() for errors so as to not pass a negative value to
the devm_request_threaded_irq().
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20231102075113.1043358-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
0 files changed, 0 insertions, 0 deletions