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
..
2023-01-24 07:24:37 +01:00
2023-02-09 11:28:04 +01:00
2022-11-09 15:41:27 +01:00
2023-02-01 08:34:34 +01:00
2023-02-01 08:34:26 +01:00
2022-10-12 10:23:24 -07:00
2023-02-09 11:28:04 +01:00
2023-01-24 07:24:32 +01:00
2023-02-09 11:27:59 +01:00
2023-02-09 11:28:04 +01:00
2022-12-31 13:33:09 +01:00
2022-12-31 13:31:59 +01:00
2023-01-24 07:24:35 +01:00
2022-12-31 13:32:41 +01:00
2023-02-01 08:34:31 +01:00
2022-12-31 13:31:55 +01:00
2023-01-12 12:02:08 +01:00
2023-01-07 11:11:39 +01:00
2022-11-21 15:34:40 -08:00
2023-01-07 11:11:40 +01:00
2022-12-31 13:32:38 +01:00
2023-02-06 08:06:33 +01:00
2023-01-24 07:24:30 +01:00
2023-02-01 08:34:40 +01:00
2022-12-31 13:32:39 +01:00
2023-02-09 11:27:59 +01:00
2023-02-06 08:06:31 +01:00
2022-11-15 21:46:58 +08:00
2023-02-09 11:28:04 +01:00
2023-02-06 08:06:34 +01:00
2023-02-09 11:28:02 +01:00
2023-02-06 08:06:33 +01:00
2022-12-31 13:32:45 +01:00
2022-12-31 13:32:56 +01:00
2022-12-31 13:33:06 +01:00
2022-12-31 13:32:41 +01:00
2023-02-01 08:34:42 +01:00
2022-10-12 23:45:29 +02:00
2022-12-31 13:33:10 +01:00
2023-02-09 11:28:04 +01:00
2023-02-01 08:34:50 +01:00
2023-02-01 08:34:06 +01:00
2023-01-18 11:58:21 +01:00
2022-10-08 08:56:37 -07:00
2022-12-31 13:31:57 +01:00
2023-02-09 11:28:04 +01:00
2022-12-31 13:32:45 +01:00
2022-12-31 13:32:50 +01:00
2022-12-31 13:32:55 +01:00
2022-12-31 13:32:41 +01:00
2023-01-18 11:58:33 +01:00
2023-02-09 11:28:01 +01:00
2023-02-01 08:34:02 +01:00
2022-12-31 13:32:25 +01:00
2023-01-04 11:29:01 +01:00
2023-02-09 11:28:04 +01:00
2023-01-24 07:24:35 +01:00
2023-01-18 11:58:24 +01:00
2023-02-09 11:28:05 +01:00
2023-01-18 11:58:26 +01:00
2022-10-14 18:41:41 -07:00
2023-02-09 11:28:04 +01:00
2022-11-22 18:22:05 +01:00
2023-01-24 07:24:32 +01:00
2023-01-07 11:11:55 +01:00
2022-11-09 15:40:32 +01:00
2023-01-07 11:11:53 +01:00
2023-02-01 08:34:49 +01:00
2023-02-01 08:34:25 +01:00
2023-02-01 08:34:20 +01:00
2023-02-01 08:34:46 +01:00
2022-12-31 13:31:56 +01:00
2022-12-31 13:32:45 +01:00
2022-10-10 09:10:28 -07:00
2022-10-10 08:37:24 +01:00
2022-12-31 13:33:12 +01:00
2022-12-31 13:32:00 +01:00
2023-01-18 11:58:22 +01:00
2023-01-07 11:11:55 +01:00
2023-02-01 08:34:05 +01:00
2023-01-07 11:11:50 +01:00
2023-02-09 11:28:04 +01:00
2023-02-09 11:28:04 +01:00
2022-11-09 15:40:14 +01:00
2022-11-10 18:45:40 +01:00
2023-02-01 08:34:08 +01:00
2023-01-04 11:28:56 +01:00
2023-02-01 08:34:32 +01:00
2022-09-30 14:33:23 +02:00
2023-01-24 07:24:35 +01:00
2023-02-09 11:28:04 +01:00
2022-11-17 09:22:12 +01:00
2023-02-01 08:34:48 +01:00
2023-01-24 07:24:37 +01:00
2023-01-24 07:24:39 +01:00
2023-02-01 08:34:39 +01:00
2022-12-31 13:32:38 +01:00
2023-02-09 11:28:04 +01:00
2023-01-24 07:24:31 +01:00
2023-02-01 08:34:36 +01:00
2023-02-09 11:28:04 +01:00
2023-01-24 07:24:32 +01:00
2022-12-31 13:32:09 +01:00
2023-01-24 07:24:31 +01:00
2023-02-01 08:34:26 +01:00
2022-12-31 13:32:44 +01:00
2023-02-09 11:28:04 +01:00