[PATCH 0/2] net: wwan: t7xx: Fix Runtime PM implementation

From: Kornel Dulęba
Date: Thu Jan 26 2023 - 08:26:30 EST


d10b3a695ba0 ("net: wwan: t7xx: Runtime PM") introduced support for
Runtime PM for this driver, but due to a bug in the initialization logic
the usage refcount would never reach 0, leaving the feature unused.
This patchset addresses that, together with a bug found after runtime
suspend was enabled.

Kornel Dulęba (2):
net: wwan: t7xx: Fix Runtime PM resume sequence
net: wwan: t7xx: Fix Runtime PM initialization

drivers/net/wwan/t7xx/t7xx_hif_dpmaif.c | 11 +++++++-
drivers/net/wwan/t7xx/t7xx_hif_dpmaif_rx.c | 29 +++++++++++++++-------
drivers/net/wwan/t7xx/t7xx_netdev.c | 16 +++++++++++-
drivers/net/wwan/t7xx/t7xx_pci.c | 2 ++
4 files changed, 47 insertions(+), 11 deletions(-)

--
2.39.1.456.gfc5497dd1b-goog