diff options
| author | Sergey Shtylyov <[email protected]> | 2021-08-09 23:21:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-13 09:02:31 +0200 |
| commit | baa2986bda3f7b2386607587a4185e3dff8f98df (patch) | |
| tree | 7bd6d15f3193b40a6651b501a9b3edc8f8869839 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5324bad66f09fdade4d72f3b8b55caf595557e3d (diff) | |
usb: dwc3: meson-g12a: 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_threaded_irq()
(which takes *unsigned* IRQ #), causing it to fail with -EINVAL, overriding
an original error code. Stop calling devm_request_threaded_irq() with the
invalid IRQ #s.
Fixes: f90db10779ad ("usb: dwc3: meson-g12a: Add support for IRQ based OTG switching")
Reviewed-by: Martin Blumenstingl <[email protected]>
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions