aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKuppuswamy Sathyanarayanan <[email protected]>2018-10-17 11:40:26 -0700
committerFelipe Balbi <[email protected]>2018-11-14 10:37:19 +0200
commit7b412b04a0c7000293008231ce8413056abb1982 (patch)
treee6879ed9eee28b120b222fe237d0a398a3ed1e54 /tools/perf/scripts/python/export-to-postgresql.py
parentba3a51ac32ebcf8d0a54b37f1af268ad8a31c52f (diff)
usb: dwc3: Fix NULL pointer exception in dwc3_pci_remove()
In dwc3_pci_quirks() function, gpiod lookup table is only registered for baytrail SOC. But in dwc3_pci_remove(), we try to unregistered it without any checks. This leads to NULL pointer de-reference exception in gpiod_remove_lookup_table() when unloading the module for non baytrail SOCs. This patch fixes this issue. Fixes: 5741022cbdf3 ("usb: dwc3: pci: Add GPIO lookup table on platforms without ACPI GPIO resources") Cc: <[email protected]> Signed-off-by: Kuppuswamy Sathyanarayanan <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions