diff options
| author | Sergey Shtylyov <[email protected]> | 2021-08-09 23:27:28 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 09:02:34 +0200 |
| commit | 50855c31573b02963f0aa2aacfd4ea41c31ae0e0 (patch) | |
| tree | d850e094b7ff55f7d924cb3b951555da0c978663 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 175006956740f70ca23394c58f8d7804776741bd (diff) | |
usb: gadget: udc: at91: add IRQ check
The driver neglects to check the result of platform_get_irq()'s call and
blithely passes the negative error codes to devm_request_irq() (which takes
*unsigned* IRQ #), causing it to fail with -EINVAL, overriding an original
error code. Stop calling devm_request_irq() with the invalid IRQ #s.
Fixes: 8b2e76687b39 ("USB: AT91 UDC updates, mostly power management")
Signed-off-by: Sergey Shtylyov <[email protected]>
Acked-by: Felipe Balbi <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions