diff options
author | David Engraf <[email protected]> | 2019-12-16 12:18:25 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2020-01-10 17:29:39 +0000 |
commit | 885199148442f56b880995d703d2ed03b6481a3c (patch) | |
tree | 821762a3a9a0905ed91bbb970a94c874c4c38e15 /scripts/bpf_helpers_doc.py | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
PCI: tegra: Fix return value check of pm_runtime_get_sync()
pm_runtime_get_sync() returns the device's usage counter. This might
be >0 if the device is already powered up or CONFIG_PM is disabled.
Abort probe function on real error only.
Fixes: da76ba50963b ("PCI: tegra: Add power management support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: David Engraf <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Andrew Murray <[email protected]>
Cc: [email protected] # v4.17+
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions