aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorThinh Nguyen <[email protected]>2022-02-15 14:49:48 -0800
committerGreg Kroah-Hartman <[email protected]>2022-02-17 16:12:21 +0100
commite51879d85a4d58d3a6227bf2e88b770901b34ecb (patch)
tree53853cb421e4e55fe7eab3c1039426941331f31a /tools/perf/scripts/python/bin/stackcollapse-report
parent5f508d79449fe2347556fcc963a258cf547f381f (diff)
usb: dwc3: drd: Don't check against CONFIG_OF
The CONFIG_OF maybe set, but it may not be applicable to a device. In such case, checking against that can cause the device fail to initialize. Check against the device node (device->of_node) instead. Fixes: a102f07e4edf ("usb: dwc3: drd: Add support for usb-conn-gpio based usb-role-switch") Tested-by: Alexander Stein <[email protected]> Signed-off-by: Thinh Nguyen <[email protected]> Link: https://lore.kernel.org/r/9f15580ad5810b1e5f31c241b35ebedfbfc30a3f.1644964864.git.Thinh.Nguyen@synopsys.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions