Alexander Stein
4268254a39
i2c: lpi2c: Avoid calling clk_get_rate during transfer
...
Instead of repeatedly calling clk_get_rate for each transfer, lock
the clock rate and cache the value.
A deadlock has been observed while adding tlv320aic32x4 audio codec to
the system. When this clock provider adds its clock, the clk mutex is
locked already, it needs to access i2c, which in return needs the mutex
for clk_get_rate as well.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-05-06 00:56:31 +02:00
..
2024-04-08 10:55:01 +02:00
2024-04-11 14:32:53 +02:00
2024-04-25 19:25:54 +02:00
2024-04-11 15:19:12 +02:00
2024-04-13 10:42:28 +09:00
2024-04-08 14:09:58 +01:00
2024-04-30 15:36:50 -06:00
2024-04-24 16:26:22 -04:00
2024-03-21 13:21:31 -07:00
2024-03-28 22:40:56 +00:00
2024-04-17 13:53:18 +02:00
2024-04-30 14:24:27 -07:00
2024-03-23 14:42:45 -07:00
2024-04-11 15:16:23 +02:00
2024-03-22 10:41:13 -07:00
2024-03-22 10:41:13 -07:00
2024-04-04 10:40:30 +02:00
2024-04-29 09:03:26 -07:00
2024-03-15 11:58:32 -07:00
2024-04-07 17:56:06 +05:30
2024-03-25 21:11:58 +01:00
2024-04-25 08:32:09 -07:00
2024-04-25 18:08:05 +02:00
2024-04-29 18:41:00 +09:00
2024-05-03 12:05:19 -07:00
2024-04-26 12:14:28 +08:00
2024-04-25 14:35:55 +02:00
2024-05-03 11:16:40 +10:00
2024-03-21 13:21:31 -07:00
2024-04-12 17:48:53 +02:00
2024-04-11 16:23:56 -07:00
2024-03-14 18:03:09 -07:00
2024-05-06 00:56:31 +02:00
2024-04-06 16:46:02 +01:00
2024-04-08 13:33:10 +03:00
2024-05-05 10:00:47 -07:00
2024-04-11 14:44:49 +02:00
2024-04-19 14:02:21 -07:00
2024-04-25 14:30:46 +02:00
2024-04-09 17:01:01 -07:00
2024-03-14 18:03:09 -07:00
2024-03-15 17:53:48 -07:00
2024-03-13 12:23:36 -07:00
2024-04-26 11:17:24 -07:00
2024-03-26 09:52:59 +01:00
2024-03-21 13:21:31 -07:00
2024-03-13 10:59:28 -07:00
2024-03-21 12:44:10 -07:00
2024-05-05 10:08:52 -07:00
2024-04-26 13:17:33 -07:00
2024-04-26 13:05:34 -07:00
2024-05-01 19:07:11 -07:00
2024-04-22 14:19:58 -07:00
2024-03-15 11:58:32 -07:00
2024-05-01 02:58:43 -07:00
2024-03-27 17:05:07 -05:00
2024-03-29 11:57:12 -05:00
2024-03-26 14:09:18 -07:00
2024-04-12 16:57:19 +05:30
2024-04-30 08:50:58 -07:00
2024-04-30 09:06:05 -07:00
2024-03-13 11:33:10 -07:00
2024-04-15 13:31:37 +02:00
2024-03-13 20:45:54 +01:00
2024-04-15 17:28:13 +02:00
2024-03-26 21:48:21 +01:00
2024-04-10 18:48:59 +01:00
2024-03-21 10:37:39 -07:00
2024-03-21 17:16:46 -07:00
2024-05-02 10:43:35 -07:00
2024-03-15 12:47:21 -07:00
2024-04-24 21:03:01 -04:00
2024-03-21 15:18:18 -07:00
2024-05-03 07:30:32 +02:00
2024-04-23 12:09:12 +02:00
2024-03-28 23:40:33 +05:30
2024-05-01 11:02:48 +09:00
2024-03-25 19:10:01 +01:00
2024-04-05 21:37:54 -04:00
2024-04-26 14:57:50 +02:00
2024-04-10 10:49:58 +03:00
2024-04-17 13:26:45 +02:00
2024-04-08 15:06:56 -04:00
2024-04-11 16:23:56 -07:00
2024-04-30 19:44:45 +02:00
2024-04-22 17:07:13 -04:00
2024-03-15 13:21:13 -07:00
2024-04-08 04:11:04 -04:00
2024-04-24 15:03:37 +02:00
2024-04-18 14:47:23 +02:00
2024-04-08 04:11:04 -04:00
2024-03-17 12:06:10 -07:00
2024-03-19 08:48:09 -07:00