mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
e3d6d152a1
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:
|
||
---|---|---|
.. | ||
iosm | ||
t7xx | ||
Kconfig | ||
Makefile | ||
mhi_wwan_ctrl.c | ||
mhi_wwan_mbim.c | ||
qcom_bam_dmux.c | ||
rpmsg_wwan_ctrl.c | ||
wwan_core.c | ||
wwan_hwsim.c |