[Linux-stm32] [PATCH -next] clk: stm32mp1: fix missing spin_lock_init()
Stephen Boyd
sboyd at kernel.org
Wed Jun 30 18:17:22 UTC 2021
Quoting Wang Hai (2021-06-29 18:58:23)
> The driver allocates the spinlock but not initialize it.
> Use spin_lock_init() on it to initialize it correctly.
>
> Fixes: c392df194a2d ("clk: stm32mp1: move RCC reset controller into RCC clock driver")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Wang Hai <wanghai38 at huawei.com>
> ---
Applied to clk-next
More information about the Linux-stm32
mailing list