From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Cc: a.zummo@towertech.it, rtc-linux@googlegroups.com
Subject: [rtc-linux] Re: [PATCH v2 1/2] RTC: s35390a: handle invalid RTC time
Date: Sun, 30 Jul 2017 16:30:22 +0200 [thread overview]
Message-ID: <20170730143022.alvin2p7d5scatkj@piout.net> (raw)
In-Reply-To: <0ee84ea918faab368ed36b73dfc7fdff07c4b4b8.1499240924.git.fabien.lahoudere@collabora.co.uk>
On 05/07/2017 at 10:02:29 +0200, Fabien Lahoudere wrote:
> If RTC time have been altered by low voltage, we notify users
> that RTC time is invalid by returning -EINVAL.
> The RTC time needs to be set correctly to clear the invalid flag.
> If the RTC is not set before restarting, the information will be lost.
>
> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
> ---
> drivers/rtc/rtc-s35390a.c | 72 +++++++++++++++++++++++++++--------------------
> 1 file changed, 42 insertions(+), 30 deletions(-)
>
Applied, thanks.
--
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.
next prev parent reply other threads:[~2017-07-30 14:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 8:02 [rtc-linux] [PATCH v2 0/2] RTC: s35390a: Improve low voltage or invalid time detection Fabien Lahoudere
2017-07-05 8:02 ` [rtc-linux] [PATCH v2 1/2] RTC: s35390a: handle invalid RTC time Fabien Lahoudere
2017-07-05 8:02 ` Fabien Lahoudere
2017-07-30 14:30 ` Alexandre Belloni [this message]
2017-07-05 8:02 ` [rtc-linux] [PATCH v2 2/2] RTC: s35390a: implement ioctls Fabien Lahoudere
2017-07-05 8:02 ` Fabien Lahoudere
2017-07-30 14:30 ` [rtc-linux] " Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170730143022.alvin2p7d5scatkj@piout.net \
--to=alexandre.belloni@free-electrons.com \
--cc=a.zummo@towertech.it \
--cc=fabien.lahoudere@collabora.co.uk \
--cc=rtc-linux@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox