linux/drivers/net
Kornel Dulęba 70fd5afb4c net: wwan: t7xx: Fix Runtime PM initialization
[ Upstream commit 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: d10b3a695b ("net: wwan: t7xx: Runtime PM")
Signed-off-by: Kornel Dulęba <mindal@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-09 11:28:05 +01:00
..
appletalk
arcnet
bonding drivers/net/bonding/bond_3ad: return when there's no aggregator 2023-01-12 12:02:28 +01:00
caif
can
dsa net: dsa: microchip: fix probe of I2C-connected KSZ8563 2023-02-01 08:34:45 +01:00
ethernet sfc: correctly advertise tunneled IPv6 segmentation 2023-02-09 11:28:05 +01:00
fddi
fjes
hamradio hamradio: baycom_epp: Fix return type of baycom_send_packet() 2022-12-31 13:33:00 +01:00
hippi
hyperv
ieee802154
ipa net: ipa: disable ipa interrupt during suspend 2023-02-01 08:34:22 +01:00
ipvlan
mctp mctp: serial: Fix starting value for frame check sequence 2022-12-31 13:32:56 +01:00
mdio net: mdio-mux-meson-g12a: force internal PHY off on mux switch 2023-02-01 08:34:49 +01:00
netdevsim
pcs
phy net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices 2023-02-09 11:28:05 +01:00
plip
ppp use less confusing names for iov_iter direction initializers 2023-02-09 11:28:04 +01:00
pse-pd
slip
team
usb r8152: add vendor/device ID pair for Microsoft Devkit 2023-02-01 08:34:32 +01:00
vmxnet3 vmxnet3: correctly report csum_level for encapsulated packet 2023-01-12 12:01:58 +01:00
vxlan vxlan: Fix memory leaks in error path 2023-01-12 12:02:25 +01:00
wan net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs 2023-02-01 08:34:17 +01:00
wireguard
wireless wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid 2023-02-01 08:34:18 +01:00
wwan net: wwan: t7xx: Fix Runtime PM initialization 2023-02-09 11:28:05 +01:00
xen-netback
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c veth: Fix race with AF_XDP exposing old or uninitialized descriptors 2023-01-12 12:01:59 +01:00
virtio_net.c virtio-net: execute xdp_do_flush() before napi_complete_done() 2023-02-09 11:28:04 +01:00
vrf.c net: vrf: determine the dst using the original ifindex for multicast 2023-01-12 12:01:57 +01:00
vsockmon.c
xen-netfront.c