aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2018-06-12 10:24:48 +0200
committerFelipe Balbi <[email protected]>2018-06-18 12:41:01 +0300
commit615277779f41a753e68f531613e344c54fdc95bf (patch)
tree595957b7106757b70f87aa24567efdcce7a39d05 /tools/perf/scripts/python/export-to-postgresql.py
parent6e967d7e2c4822eba4847ec09037119a0418aaef (diff)
usb: dwc3: Only call clk_bulk_get() on devicetree instantiated devices
Commit fe8abf332b8f ("usb: dwc3: support clocks and resets for DWC3 core") adds support for handling clocks and resets in the DWC3 core, so that for platforms following the standard devicetree bindings this does not need to be duplicated in all the different glue layers. These changes intended for devicetree based platforms introduce an uncoditional clk_bulk_get() in the core probe path. This leads to the following error being logged on x86/ACPI systems: [ 26.276783] dwc3 dwc3.3.auto: Failed to get clk 'ref': -2 This commits wraps the clk_bulk_get() in an if (dev->of_node) check so that it only is done on devicetree instantiated devices, fixing this error. Cc: Masahiro Yamada <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Signed-off-by: Hans de Goede <[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