[PATCH -next] clk: stm32: rcc_reset: Fix missing spin_lock_init()

Stephen Boyd sboyd at kernel.org
Thu Jun 9 15:34:43 PDT 2022


Quoting Wei Yongjun (2022-06-07 19:11:54)
> The driver allocates the spinlock but not initialize it.
> Use spin_lock_init() on it to initialize it correctly.
> 
> Fixes: 637cee5ffc71 ("clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>
> ---

Applied to clk-fixes



More information about the linux-arm-kernel mailing list