Johan Hovold
1031f68108
spi: zynqmp-gqspi: fix clock imbalance on probe failure
...
[ Upstream commit 1527b076ae2cb6a9c590a02725ed39399fcad1cf ]
Make sure that the device is not runtime suspended before explicitly
disabling the clocks on probe failure and on driver unbind to avoid a
clock enable-count imbalance.
Fixes: 9e3a000362ae ("spi: zynqmp: Add pm runtime support")
Cc: stable@vger.kernel.org # 4.19
Cc: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/Message-Id : <20230622082435.7873-1-johan+linaro@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 22:00:34 +02:00
..
2023-05-11 23:03:27 +09:00
2023-03-10 09:33:18 +01:00
2022-08-15 12:17:38 +01:00
2021-04-20 17:26:40 +01:00
2022-06-06 12:39:16 +01:00
2021-10-20 01:53:15 +01:00
2022-11-04 12:25:03 +00:00
2022-01-04 14:59:40 +00:00
2022-07-26 16:51:07 +01:00
2022-10-19 14:36:43 +01:00
2021-10-20 00:23:21 +01:00
2022-02-08 13:40:18 +00:00
2022-07-18 13:45:32 +01:00
2022-05-16 17:57:01 +01:00
2021-03-12 14:30:42 +00:00
2023-03-10 09:33:22 +01:00
2023-07-27 08:50:38 +02:00
2022-08-02 10:55:04 -07:00
2022-02-01 16:08:47 +00:00
2023-07-19 16:22:03 +02:00
2022-08-15 01:26:20 +01:00
2021-06-01 14:03:12 +01:00
2021-03-10 12:46:05 +00:00
2023-06-21 16:00:58 +02:00
2023-02-01 08:34:28 +01:00
2022-07-20 18:45:21 +01:00
2022-04-25 14:01:09 +01:00
2021-08-19 18:20:10 +01:00
2021-08-24 20:53:24 +01:00
2021-12-23 13:38:38 +00:00
2022-09-26 16:10:36 +01:00
2023-07-19 16:21:05 +02:00
2022-11-16 13:43:03 +00:00
2023-07-27 08:50:50 +02:00
2021-11-16 14:30:05 +00:00
2022-07-13 13:32:32 +01:00
2021-08-03 18:27:24 +01:00
2021-03-12 14:30:48 +00:00
2022-06-23 15:48:21 +01:00
2023-05-17 11:54:00 +02:00
2023-06-21 16:00:58 +02:00
2021-03-12 14:30:49 +00:00
2023-06-28 11:12:37 +02:00
2022-09-26 16:10:41 +01:00
2023-05-17 11:54:00 +02:00
2023-07-19 16:22:01 +02:00
2022-12-31 13:32:25 +01:00
2023-10-06 14:56:46 +02:00
2021-11-17 13:04:54 +00:00
2021-04-12 17:07:38 +01:00
2022-09-23 18:21:48 +01:00
2023-05-24 17:32:40 +01:00
2022-04-25 14:00:51 +01:00
2023-10-06 14:56:55 +02:00
2022-02-14 12:53:09 +00:00
2023-03-17 08:50:20 +01:00
2022-02-14 12:53:09 +00:00
2021-03-24 19:51:09 +00:00
2022-02-21 13:25:19 +00:00
2021-05-20 18:00:34 +01:00
2022-09-19 15:44:19 +01:00
2022-06-06 12:32:27 +01:00
2022-11-02 12:27:15 +00:00
2022-01-07 13:36:38 +00:00
2022-08-15 12:17:38 +01:00
2022-08-15 12:18:41 +01:00
2022-06-27 13:24:36 +01:00
2022-10-10 13:01:20 +01:00
2022-02-02 16:09:29 +00:00
2023-06-14 11:15:15 +02:00
2022-08-29 17:51:39 +01:00
2022-04-12 17:18:51 +01:00
2022-05-03 14:00:38 +01:00
2022-09-02 13:27:13 +01:00
2022-04-04 08:45:14 +01:00
2022-04-25 14:00:59 +01:00
2022-07-20 16:55:26 +01:00
2022-08-15 12:17:29 +01:00
2023-10-06 14:56:54 +02:00
2021-05-11 15:42:49 +01:00
2022-09-21 10:28:20 +01:00
2022-09-26 16:10:37 +01:00
2022-04-21 15:01:08 +02:00
2021-10-15 16:10:59 +01:00
2022-01-31 15:17:30 +00:00
2021-10-26 11:53:57 +01:00
2021-05-20 18:00:40 +01:00
2021-05-18 14:05:35 +01:00
2022-02-28 12:10:27 +00:00
2022-10-04 19:36:53 -07:00
2021-11-29 12:19:59 +00:00
2021-03-16 10:14:11 +05:30
2023-06-14 11:15:15 +02:00
2020-12-07 14:18:55 +00:00
2021-02-04 18:45:57 +00:00
2023-04-26 14:28:34 +02:00
2022-06-20 11:35:43 +01:00
2022-04-04 08:38:59 +01:00
2022-07-21 17:21:07 +01:00
2022-09-23 18:21:50 +01:00
2023-07-27 08:50:39 +02:00
2021-05-21 13:13:33 +01:00
2022-08-29 12:41:36 +01:00
2022-06-27 13:24:35 +01:00
2022-06-10 13:32:24 +01:00
2021-03-23 17:19:45 +00:00
2022-02-09 13:00:45 +00:00
2022-02-09 13:00:45 +00:00
2021-08-26 12:09:38 +01:00
2022-04-25 14:00:57 +01:00
2022-02-01 16:08:45 +00:00
2022-08-31 12:13:11 +01:00
2023-10-06 14:56:55 +02:00
2022-03-15 12:03:58 +00:00
2023-10-06 14:56:51 +02:00
2022-04-19 13:13:42 +01:00
2023-03-10 09:33:23 +01:00
2023-09-13 09:42:31 +02:00
2022-07-13 13:49:03 +01:00
2022-04-19 13:13:44 +01:00
2023-03-11 13:55:29 +01:00
2022-06-06 12:41:36 +01:00
2022-02-09 13:00:45 +00:00
2022-06-20 12:43:36 +01:00
2022-01-26 15:52:05 +00:00
2022-09-23 18:21:49 +01:00
2021-11-15 13:27:17 +00:00
2022-09-22 14:39:50 +01:00
2022-02-08 13:37:50 +00:00
2023-10-10 22:00:34 +02:00
2023-09-13 09:43:05 +02:00
2023-02-01 08:34:32 +01:00