Jinjie Ruan
0c8d604dea
i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
...
It is not valid to call pm_runtime_set_suspended() for devices
with runtime PM enabled because it returns -EAGAIN if it is enabled
already and working. So, call pm_runtime_disable() before to fix it.
Fixes: 36ecbcab84d0 ("i2c: xiic: Implement power management")
Cc: <stable@vger.kernel.org> # v4.6+
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-09-27 11:48:21 +02:00
..
2019-06-19 17:09:55 +02:00
2024-07-11 15:13:10 +02:00
2024-09-10 00:33:52 +02:00
2024-07-09 00:46:06 +02:00
2024-07-11 15:13:11 +02:00
2019-05-30 11:26:37 -07:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2022-11-01 13:41:22 +01:00
2024-09-10 00:33:52 +02:00
2022-11-01 13:41:22 +01:00
2024-09-23 14:34:19 -07:00
2023-10-21 20:45:29 +02:00
2024-05-06 00:56:31 +02:00
2024-06-12 17:07:33 +01:00
2020-11-03 21:34:40 +01:00
2024-07-11 15:13:11 +02:00
2023-10-28 14:34:53 +02:00
2024-07-11 15:13:12 +02:00
2024-05-06 00:56:32 +02:00
2024-07-11 15:13:12 +02:00
2024-07-11 15:13:12 +02:00
2024-05-13 15:56:14 +02:00
2023-06-05 09:47:37 +02:00
2024-07-09 00:46:06 +02:00
2022-02-15 10:04:53 +01:00
2024-07-11 15:13:13 +02:00
2024-07-11 15:13:30 +02:00
2024-07-11 15:14:26 +02:00
2024-07-11 15:14:06 +02:00
2024-07-11 15:14:07 +02:00
2023-04-20 18:20:05 +08:00
2022-02-11 15:38:23 +01:00
2024-09-24 16:23:25 +02:00
2024-09-24 16:23:25 +02:00
2024-09-24 16:23:25 +02:00
2024-09-11 12:52:46 +02:00
2024-09-11 12:52:45 +02:00
2024-09-10 00:36:42 +02:00
2024-09-10 00:33:52 +02:00
2024-07-11 15:14:08 +02:00
2024-07-11 15:14:08 +02:00
2022-08-11 23:02:51 +02:00
2024-01-18 21:10:41 +01:00
2024-09-10 00:36:48 +02:00
2024-05-06 00:56:50 +02:00
2024-07-11 15:14:09 +02:00
2024-07-11 15:14:09 +02:00
2023-08-14 17:47:21 +02:00
2024-07-11 15:14:09 +02:00
2024-07-11 15:14:10 +02:00
2024-07-11 15:14:10 +02:00
2019-05-30 11:26:37 -07:00
2024-09-10 00:36:56 +02:00
2024-07-11 15:14:11 +02:00
2019-05-30 11:26:32 -07:00
2022-08-11 23:02:51 +02:00
2024-05-06 00:56:33 +02:00
2024-09-10 00:33:52 +02:00
2024-09-10 00:36:49 +02:00
2024-07-11 15:14:11 +02:00
2019-07-15 21:10:39 -07:00
2024-09-11 23:32:24 +02:00
2024-09-10 00:36:55 +02:00
2024-09-10 00:36:48 +02:00
2024-09-10 11:02:45 +02:00
2024-07-11 15:14:13 +02:00
2024-09-10 17:10:55 +02:00
2024-07-11 15:14:13 +02:00
2024-07-11 15:14:14 +02:00
2023-06-05 10:43:45 +02:00
2023-08-14 17:47:21 +02:00
2023-08-08 15:36:55 +02:00
2023-08-14 18:09:44 +02:00
2024-07-11 15:14:14 +02:00
2024-09-10 00:36:45 +02:00
2024-09-10 00:33:54 +02:00
2024-07-11 15:14:15 +02:00
2024-07-11 15:14:15 +02:00
2023-08-14 17:47:21 +02:00
2019-05-30 11:26:37 -07:00
2024-01-18 21:10:41 +01:00
2024-05-20 08:55:18 -07:00
2024-09-10 00:36:46 +02:00
2024-07-11 15:14:25 +02:00
2024-07-11 15:14:16 +02:00
2024-07-11 15:14:16 +02:00
2024-07-11 15:14:16 +02:00
2024-07-11 15:14:16 +02:00
2024-09-10 00:33:52 +02:00
2024-07-11 15:14:17 +02:00
2024-07-11 15:14:17 +02:00
2024-07-03 16:44:22 +02:00
2024-07-11 15:14:17 +02:00
2022-11-12 21:30:16 +01:00
2024-01-18 21:10:41 +01:00
2023-06-23 11:56:34 +02:00
2021-01-26 07:42:27 +01:00
2023-08-14 17:47:21 +02:00
2024-09-10 00:33:52 +02:00
2024-09-10 00:33:52 +02:00
2024-07-11 15:14:18 +02:00
2024-09-10 00:33:52 +02:00
2024-09-10 00:33:52 +02:00
2023-08-25 22:07:10 +02:00
2024-09-23 14:34:19 -07:00
2024-09-10 00:33:52 +02:00
2024-09-10 00:36:49 +02:00
2024-09-10 00:36:43 +02:00
2024-07-11 15:14:19 +02:00
2024-07-11 15:14:20 +02:00
2024-07-11 15:14:20 +02:00
2024-09-10 00:33:52 +02:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2024-05-06 00:56:36 +02:00
2024-01-18 21:10:41 +01:00
2023-06-05 09:47:37 +02:00
2024-01-18 21:10:41 +01:00
2024-01-18 21:10:41 +01:00
2024-07-11 15:14:20 +02:00
2024-07-11 15:14:21 +02:00
2024-07-11 15:14:26 +02:00
2020-09-21 11:45:43 +02:00
2019-08-14 14:56:54 +02:00
2024-07-11 15:14:21 +02:00
2024-05-06 00:56:52 +02:00
2024-07-11 15:14:21 +02:00
2024-09-24 16:23:26 +02:00
2024-07-11 15:14:22 +02:00
2024-07-11 15:14:22 +02:00
2024-08-15 00:22:28 +02:00
2024-07-11 15:14:23 +02:00
2024-07-11 15:14:23 +02:00
2024-07-11 15:14:23 +02:00
2024-07-11 15:14:24 +02:00
2023-06-14 10:40:09 +02:00
2024-01-18 21:10:41 +01:00
2024-07-11 15:14:24 +02:00
2024-06-26 16:07:21 +02:00
2024-07-11 15:14:24 +02:00
2024-07-11 15:14:24 +02:00
2024-01-18 21:10:41 +01:00
2024-07-11 15:14:24 +02:00
2024-09-10 00:36:50 +02:00
2023-09-29 11:55:21 +01:00
2024-09-27 11:48:21 +02:00
2023-08-10 10:12:55 +02:00
2024-09-27 11:48:11 +02:00
2024-09-10 11:02:45 +02:00
2024-01-18 21:10:41 +01:00