summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-07-01 20:01:32 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-07-01 20:01:32 +0300
commit9650910d05a31d62f562f90ca15ece685a4c1b9c (patch)
tree442ab7adeca916a809870e73e335043c569d2e3d /drivers
parenta175eca0f3d747599f1fdfac04cc9195b71ec996 (diff)
parenta79e69c8714f416bd324952d06d1dd7bce3f35bf (diff)
downloadlinux-9650910d05a31d62f562f90ca15ece685a4c1b9c.tar.xz
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
Pull clk fixes from Stephen Boyd: "Two small fixes - Initialize a spinlock in the stm32 reset code - Add dt bindings to the clk maintainer filepattern" * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: MAINTAINERS: add include/dt-bindings/clock to COMMON CLK FRAMEWORK clk: stm32: rcc_reset: Fix missing spin_lock_init()
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/stm32/reset-stm32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/stm32/reset-stm32.c b/drivers/clk/stm32/reset-stm32.c
index 040870130e4b..e89381528af9 100644
--- a/drivers/clk/stm32/reset-stm32.c
+++ b/drivers/clk/stm32/reset-stm32.c
@@ -111,6 +111,7 @@ int stm32_rcc_reset_init(struct device *dev, const struct of_device_id *match,
if (!reset_data)
return -ENOMEM;
+ spin_lock_init(&reset_data->lock);
reset_data->membase = base;
reset_data->rcdev.owner = THIS_MODULE;
reset_data->rcdev.ops = &stm32_reset_ops;