WSL2-Linux-Kernel/drivers/clk/stm32
Wei Yongjun a1ea0857b5 clk: stm32: rcc_reset: Fix missing spin_lock_init()
The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.

Fixes: 637cee5ffc ("clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20220608021154.990347-1-weiyongjun1@huawei.com
Tested-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Reviewed-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-06-09 15:34:08 -07:00
..
Makefile clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller) 2022-05-20 21:07:48 -07:00
clk-stm32-core.c clk: stm32mp13: add safe mux management 2022-05-20 21:07:49 -07:00
clk-stm32-core.h clk: stm32mp13: add safe mux management 2022-05-20 21:07:49 -07:00
clk-stm32mp13.c clk: stm32mp13: add safe mux management 2022-05-20 21:07:49 -07:00
reset-stm32.c clk: stm32: rcc_reset: Fix missing spin_lock_init() 2022-06-09 15:34:08 -07:00
reset-stm32.h clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller) 2022-05-20 21:07:48 -07:00
stm32mp13_rcc.h clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller) 2022-05-20 21:07:48 -07:00