diff options
| author | Tang Bin <[email protected]> | 2022-05-24 20:14:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 11:48:52 +0200 |
| commit | 18fc7c435be3f17ea26a21b2e2312fcb9088e01f (patch) | |
| tree | ef275937cad888bf9d0e85ba34f0faea1bad8d3b /tools/perf/scripts/python/flamegraph.py | |
| parent | f08aa7c80dac27ee00fa6827f447597d2fba5465 (diff) | |
usb: xhci: tegra: Fix error check
In the function tegra_xusb_powerdomain_init(),
dev_pm_domain_attach_by_name() may return NULL in some cases,
so IS_ERR() doesn't meet the requirements. Thus fix it.
Fixes: 6494a9ad86de ("usb: xhci: tegra: Add genpd support")
Signed-off-by: Tang Bin <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions