aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKornel Dulęba <mindal@semihalf.com>2023-01-26 13:25:35 +0000
committerDavid S. Miller <davem@davemloft.net>2023-01-28 13:20:21 +0000
commite3d6d152a1cbdee25f2e3962009a2751b54e2297 (patch)
treeac547964f725388e0ce9e873b6fbd6aea94a7be1 /tools/perf/scripts/python/exported-sql-viewer.py
parent364d0221f1788e5225006ba7a0026e5968431c29 (diff)
net: wwan: t7xx: Fix Runtime PM initialization
For PCI devices the Runtime PM refcount is incremented twice: 1. During device enumeration with a call to pm_runtime_forbid. 2. Just before a driver probe logic is called. Because of that in order to enable Runtime PM on a given device we have to call both pm_runtime_allow and pm_runtime_put_noidle, once it's ready to be runtime suspended. The former was missing causing the pm refcount to never reach 0. Fixes: d10b3a695ba0 ("net: wwan: t7xx: Runtime PM") Signed-off-by: Kornel Dulęba <mindal@semihalf.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions