Files
kernel_common_drivers/include/linux/amlogic
Sunny Luo 12ceda73f6 spisg: fix mutex lock panic of dirspi_async [1/1]
PD#SWPL-179542

Problem:
dirspi_async is designed for the ldim isr. Unfortunately, the
clk_set_rate and clk_get_rate it calls use a mutex lock, which
will lead to a mutex lock panic.

Solution:
Set spi speed in spi_setup only when controller_data use_dirspi=1
Pre-save the spi speed to avoid calling clk_get_rate

Verify:
t5m

Change-Id: I4fdf9d3be687901a5e8cffa1f838f99551b7d94a
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-07-31 01:52:43 -07:00
..
2024-07-02 21:10:48 -07:00
2024-07-05 10:44:46 +08:00
2023-09-26 02:28:52 -07:00
2024-06-30 22:01:20 -07:00
2022-05-10 02:11:08 -07:00
2022-03-24 20:01:34 +08:00
2021-11-29 19:00:07 +08:00
2022-03-24 20:01:34 +08:00
2021-12-15 15:59:20 +08:00
2022-06-07 04:47:30 -07:00
2022-01-05 17:07:20 +08:00
2022-09-07 20:06:45 +08:00
2022-03-06 18:36:14 -07:00
2024-07-16 03:55:13 -07:00
2022-09-13 22:04:56 -07:00
2024-05-23 02:02:20 -07:00
2022-09-20 22:15:28 -07:00
2021-12-09 15:10:33 +08:00
2022-03-03 01:05:46 -07:00
2022-03-03 01:05:46 -07:00
2024-01-22 12:48:44 +08:00
2024-07-09 08:02:48 -07:00
2022-06-30 18:09:28 +08:00
2022-03-04 11:13:37 +08:00
2021-12-22 15:48:10 +08:00
2022-03-24 20:01:34 +08:00