[rtc-linux] Re: [PATCH] rtc: asm9260: Fix missing spin_lock_init for priv->lock
From: Alexandre Belloni <hidden>
Date: 2016-09-05 15:14:07
Hi, This is already solved by: http://patchwork.ozlabs.org/patch/664582/ On 05/09/2016 at 23:01:11 +0800, Axel Lin wrote :
quoted hunk ↗ jump to hunk
Signed-off-by: Axel Lin <redacted> --- drivers/rtc/rtc-asm9260.c | 1 + 1 file changed, 1 insertion(+)diff --git a/drivers/rtc/rtc-asm9260.c b/drivers/rtc/rtc-asm9260.c index 5219916..72a036f 100644 --- a/drivers/rtc/rtc-asm9260.c +++ b/drivers/rtc/rtc-asm9260.c@@ -269,6 +269,7 @@ static int asm9260_rtc_probe(struct platform_device *pdev) priv->dev = &pdev->dev; platform_set_drvdata(pdev, priv); + spin_lock_init(&priv->lock); irq_alarm = platform_get_irq(pdev, 0); if (irq_alarm < 0) {-- 2.7.4
-- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.