All of lore.kernel.org
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH] rtc: asm9260: Fix missing spin_lock_init for priv->lock
@ 2016-09-05 15:01 Axel Lin
  2016-09-05 15:14 ` [rtc-linux] " Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2016-09-05 15:01 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: Alessandro Zummo, Oleksij Rempel, rtc-linux, Axel Lin

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 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

-- 
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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rtc-linux] Re: [PATCH] rtc: asm9260: Fix missing spin_lock_init for priv->lock
  2016-09-05 15:01 [rtc-linux] [PATCH] rtc: asm9260: Fix missing spin_lock_init for priv->lock Axel Lin
@ 2016-09-05 15:14 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2016-09-05 15:14 UTC (permalink / raw)
  To: Axel Lin; +Cc: Alessandro Zummo, Oleksij Rempel, rtc-linux

Hi,

This is already solved by: http://patchwork.ozlabs.org/patch/664582/

On 05/09/2016 at 23:01:11 +0800, Axel Lin wrote :
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-05 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-05 15:01 [rtc-linux] [PATCH] rtc: asm9260: Fix missing spin_lock_init for priv->lock Axel Lin
2016-09-05 15:14 ` [rtc-linux] " Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.