commit | b1f247714acb2a78452ba555807764b2c1115a40 | [log] [tgz] |
---|---|---|
author | Wang Hai <wanghai38@huawei.com> | Wed Jun 30 09:58:23 2021 +0800 |
committer | Stephen Boyd <sboyd@kernel.org> | Wed Jun 30 11:17:20 2021 -0700 |
tree | 9fa7153dbf2251ff0b5979db034161cf0e8426bc | |
parent | d2b21013bf5fb177c08b2c9c4dfa32ee0fc97b53 [diff] |
clk: stm32mp1: 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: c392df194a2d ("clk: stm32mp1: move RCC reset controller into RCC clock driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Link: https://lore.kernel.org/r/20210630015824.2555840-1-wanghai38@huawei.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>