mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drivers/rtc/rtc-imxdi.c: add missing spin lock initialization
Signed-off-by: Jan Luebbe <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Roland Stigge <[email protected]> Cc: Grant Likely <[email protected]> Tested-by: Roland Stigge <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Russell King <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6b187d0260
commit
fee0de7791
1 changed files with 2 additions and 0 deletions
|
|
@ -392,6 +392,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue