OpenCloudOS-Kernel/drivers/net/wwan/t7xx
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
..
Makefile net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_cldma.c
t7xx_cldma.h
t7xx_dpmaif.c net: wwan: t7xx: Fix return type of t7xx_dl_add_timedout() 2022-05-16 11:41:50 +01:00
t7xx_dpmaif.h net: wwan: t7xx: Data path HW layer 2022-05-09 10:51:59 +01:00
t7xx_hif_cldma.c net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_hif_cldma.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_hif_dpmaif.c net: wwan: t7xx: Fix Runtime PM resume sequence 2023-01-28 13:20:20 +00:00
t7xx_hif_dpmaif.h net: wwan: t7xx: Add NAPI support 2022-11-07 09:34:12 +00:00
t7xx_hif_dpmaif_rx.c net: wwan: t7xx: Fix Runtime PM resume sequence 2023-01-28 13:20:20 +00:00
t7xx_hif_dpmaif_rx.h net: wwan: t7xx: Add NAPI support 2022-11-07 09:34:12 +00:00
t7xx_hif_dpmaif_tx.c net: wwan: t7xx: Device deep sleep lock/unlock 2022-05-09 10:51:59 +01:00
t7xx_hif_dpmaif_tx.h net: wwan: t7xx: Add data path interface 2022-05-09 10:51:59 +01:00
t7xx_mhccif.c net: wwan: t7xx: Device deep sleep lock/unlock 2022-05-09 10:51:59 +01:00
t7xx_mhccif.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_modem_ops.c net: wwan: t7xx: Fix the ACPI memory leak 2022-11-24 08:54:59 +01:00
t7xx_modem_ops.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_netdev.c net: wwan: t7xx: Fix Runtime PM resume sequence 2023-01-28 13:20:20 +00:00
t7xx_netdev.h net: wwan: t7xx: Add NAPI support 2022-11-07 09:34:12 +00:00
t7xx_pci.c net: wwan: t7xx: Fix Runtime PM initialization 2023-01-28 13:20:21 +00:00
t7xx_pci.h net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_pcie_mac.c
t7xx_pcie_mac.h
t7xx_port.h net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_port_ctrl_msg.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_port_proxy.c net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_port_proxy.h net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_port_trace.c net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_port_wwan.c net: wwan: t7xx: use union to group port type specific data 2022-11-02 11:39:49 +00:00
t7xx_reg.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_state_monitor.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_state_monitor.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00