projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab41bb2
)
drivers/rtc/rtc-imxdi.c: add missing spin lock initialization
author
Jan Luebbe
<jlu@pengutronix.de>
Thu, 25 Oct 2012 20:38:11 +0000
(13:38 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 16:51:34 +0000
(09:51 -0700)
commit
fee0de7791f967c2c5f0d43eb7b7261761b45e64
upstream.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Roland Stigge <stigge@antcom.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Roland Stigge <stigge@antcom.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rtc/rtc-imxdi.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-imxdi.c
b/drivers/rtc/rtc-imxdi.c
index 2dd3c0163272afa30fb7b836851982afe1c8035a..d007609555c052cd5fee48d6d2c3983d021387e6 100644
(file)
--- a/
drivers/rtc/rtc-imxdi.c
+++ b/
drivers/rtc/rtc-imxdi.c
@@
-391,6
+391,8
@@
static int dryice_rtc_probe(struct platform_device *pdev)
if (imxdi->ioaddr == NULL)
return -ENOMEM;
+ spin_lock_init(&imxdi->irq_lock);
+
imxdi->irq = platform_get_irq(pdev, 0);
if (imxdi->irq < 0)
return imxdi->irq;