[PATCH -next] clk: stm32mp1: fix missing spin_lock_init()
Stephen Boyd
sboyd at kernel.org
Wed Jun 30 11:17:22 PDT 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-arm-kernel
mailing list