diff options
author | Dan Carpenter <[email protected]> | 2024-01-31 10:10:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-02-17 16:43:57 +0100 |
commit | b65bdf7fd605ebd652a8d44304bafe753f44f160 (patch) | |
tree | 305d3c91da3e3804d05e0834050f95d5f5a9baf7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 50c72a46eb41404d6b019532469639a8c26ca026 (diff) |
usb: dwc3: Fix an IS_ERR() vs NULL check in dwc3_power_off_all_roothub_ports()
The ioremap() function doesn't return error pointers, it returns NULL on
error. Update the check.
Fixes: 2d2a3349521d ("usb: dwc3: Add workaround for host mode VBUS glitch when boot")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Thinh Nguyen <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions