diff options
| author | Sergey Shtylyov <[email protected]> | 2021-08-09 23:50:18 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 13:05:50 +0200 |
| commit | ecc2f30dbb25969908115c81ec23650ed982b004 (patch) | |
| tree | e74efc3ed1efd9af38b48620febae9d6ae1f00c5 /tools/perf/scripts/python | |
| parent | 711087f342914e831269438ff42cf59bb0142c71 (diff) | |
usb: phy: fsl-usb: add IRQ check
The driver neglects to check the result of platform_get_irq()'s call and
blithely passes the negative error codes to request_irq() (which takes
*unsigned* IRQ #), causing it to fail with -EINVAL, overriding an original
error code. Stop calling request_irq() with the invalid IRQ #s.
Fixes: 0807c500a1a6 ("USB: add Freescale USB OTG Transceiver driver")
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Sergey Shtylyov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions