linux-stable/drivers/net/wwan
Kornel Dulęba e3d6d152a1 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: d10b3a695b ("net: wwan: t7xx: Runtime PM")
Signed-off-by: Kornel Dulęba <mindal@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-28 13:20:21 +00:00
..
iosm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-12-08 18:19:59 -08:00
t7xx net: wwan: t7xx: Fix Runtime PM initialization 2023-01-28 13:20:21 +00:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-10 17:43:53 -08:00
Makefile net: wwan: t7xx: Add core components 2022-05-09 10:51:59 +01:00
mhi_wwan_ctrl.c net: wwan: mhi_wwan_ctrl: Add DUN2 to have a secondary AT port 2022-09-20 16:07:12 -07:00
mhi_wwan_mbim.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-10 17:43:53 -08:00
qcom_bam_dmux.c net: wwan: qcom_bam_dmux: fix wrong pointer passed to IS_ERR() 2022-03-22 09:36:46 +01:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c net: wwan: iosm: add rpc interface for xmm modems 2022-11-02 11:51:03 +00:00
wwan_hwsim.c wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new() 2022-10-19 17:25:10 -07:00