mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
aa70617c04
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>