Anurag Dutta
f1eb4e792b
spi: spi-cadence-quadspi: Enable pm runtime earlier to avoid imbalance
...
The "probe_setup_failed" label calls pm_runtime_disable(), but
pm_runtime_enable() was placed after a possible jump to this label.
When cqspi_setup_flash() fails, control jumps to the label without
pm_runtime_enable() being called, leading to unbalanced PM runtime
reference counting.
Move pm_runtime_enable() and associated calls above the first
possible branch to "probe_setup_failed" to ensure balanced
enable/disable calls across all error paths.
Fixes: 30dbc1c8d50f ("spi: cadence-qspi: defer runtime support on socfpga if reset bit is enabled")
Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Link: https://patch.msgid.link/20251105161146.2019090-2-a-dutta@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-11-13 18:50:35 +00:00
..
2025-10-14 08:56:31 -06:00
2025-10-30 20:40:49 +01:00
2025-10-22 08:04:15 +02:00
2025-10-13 09:12:36 +02:00
2025-11-01 10:45:39 -07:00
2025-10-20 13:54:15 +02:00
2025-10-31 12:57:19 -07:00
2025-10-24 10:31:24 -04:00
2025-10-04 16:26:32 -07:00
2025-10-04 16:26:32 -07:00
2025-10-18 14:33:22 +03:00
2025-10-07 09:28:37 -07:00
2025-10-07 08:40:15 -07:00
2025-10-22 08:03:52 +02:00
2025-10-15 08:21:16 -05:00
2025-10-27 14:41:27 +01:00
2025-10-23 12:53:23 +08:00
2025-10-14 14:48:14 -07:00
2025-10-15 10:39:54 -04:00
2025-10-06 10:37:06 -07:00
2025-10-24 16:56:37 +01:00
2025-10-28 18:54:48 -07:00
2025-09-30 11:41:03 -07:00
2025-10-25 08:29:56 +09:00
2025-10-23 22:30:01 +02:00
2025-10-23 14:30:11 +02:00
2025-10-31 19:11:16 +01:00
2025-10-18 08:18:18 -10:00
2025-10-01 00:00:45 +00:00
2025-10-19 18:56:14 -07:00
2025-10-04 16:26:32 -07:00
2025-10-14 13:54:43 +02:00
2025-10-03 18:35:22 -07:00
2025-10-08 09:44:38 -07:00
2025-10-03 18:18:48 -07:00
2025-10-07 10:23:22 +02:00
2025-10-08 11:44:21 -07:00
2025-10-03 18:48:02 -07:00
2025-10-04 16:07:08 -07:00
2025-10-02 18:18:33 -07:00
2025-10-03 10:38:23 -05:00
2025-10-26 10:33:46 -07:00
2025-10-13 13:18:03 +02:00
2025-10-22 08:04:43 +02:00
2025-10-04 15:50:37 -07:00
2025-10-29 18:49:24 -07:00
2025-10-06 11:17:18 -07:00
2025-10-22 19:46:25 -07:00
2025-10-22 08:02:38 +02:00
2025-10-24 07:44:09 -05:00
2025-10-31 14:24:32 -07:00
2025-10-07 08:59:25 -07:00
2025-10-06 10:34:22 -07:00
2025-10-06 10:41:03 -07:00
2025-10-15 11:22:35 +03:00
2025-10-01 17:32:51 -07:00
2025-10-01 13:02:59 -07:00
2025-10-22 19:18:39 -07:00
2025-10-01 11:34:12 -07:00
2025-10-30 11:30:23 +00:00
2025-10-04 15:45:17 -07:00
2025-10-01 17:32:51 -07:00
2025-10-11 11:56:47 -07:00
2025-10-09 10:51:43 -07:00
2025-10-21 21:09:36 -04:00
2025-10-05 10:09:55 -07:00
2025-10-06 10:32:22 -07:00
2025-11-13 18:50:35 +00:00
2025-10-13 10:55:03 +02:00
2025-10-11 11:49:00 -07:00
2025-10-17 15:26:52 +02:00
2025-10-02 10:41:58 +02:00
2025-10-22 12:13:54 +02:00
2025-10-21 21:02:46 -04:00
2025-10-07 08:40:15 -07:00
2025-10-24 13:52:58 +02:00
2025-10-01 07:24:55 -04:00
2025-10-28 15:54:41 -06:00
2025-10-01 07:24:43 -04:00
2025-10-28 22:59:19 +01:00
2025-09-29 18:48:39 -07:00
2025-10-04 08:48:16 -07:00
2025-10-06 11:00:30 -07:00
2025-10-03 17:41:12 -07:00
2025-10-07 08:40:15 -07:00