aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2021-08-09 23:23:51 +0300
committerGreg Kroah-Hartman <[email protected]>2021-08-13 09:02:33 +0200
commit175006956740f70ca23394c58f8d7804776741bd (patch)
tree877ac9f36f5e1f4cec14b9de402a8e2a492c2070 /tools/perf/scripts/python/export-to-postgresql.py
parentbaa2986bda3f7b2386607587a4185e3dff8f98df (diff)
usb: dwc3: qcom: add IRQ check
In dwc3_qcom_acpi_register_core(), the driver neglects to check the result of platform_get_irq()'s call and blithely assigns the negative error codes to the allocated child device's IRQ resource and then passing this resource to platform_device_add_resources() and later causing dwc3_otg_get_irq() to fail anyway. Stop calling platform_device_add_resources() with the invalid IRQ #s, so that there's less complexity in the IRQ error checking. Fixes: 2bc02355f8ba ("usb: dwc3: qcom: Add support for booting with ACPI") 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