Re: [PATCH 3/8] rtc: add STM32 RTC driver
From: Alexandre Belloni <hidden>
Date: 2016-12-07 18:37:26
Also in:
linux-arm-kernel, linux-rtc, lkml
From: Alexandre Belloni <hidden>
Date: 2016-12-07 18:37:26
Also in:
linux-arm-kernel, linux-rtc, lkml
On 05/12/2016 at 10:43:14 +0100, Amelie DELAUNAY wrote :
quoted
quoted
+ + device_init_wakeup(&pdev->dev, true);What happens if device_init_wakeup() returns an error?It means that RTC won't be able to wake up the board with RTC alarm. I can add a warning for the user in this case ?quoted
There is exactly one driver ever checking the return value of device_init_wakeup(). It basically always succeeds. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.