From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: sun4i/sun7i: RTC driver
Date: Sun, 27 Oct 2013 14:25:21 +0000 [thread overview]
Message-ID: <20131027142521.GB16856@lukather> (raw)
In-Reply-To: <CAOQ7t2bkA8K6_d_Sh9Uj2-m005OWR0U4Sz8auBBWhwipnD7QNQ@mail.gmail.com>
Hi Carlo,
On Sat, Oct 26, 2013 at 11:19:49AM +0200, Carlo Caione wrote:
> On Tue, Oct 22, 2013 at 5:23 PM, Maxime Ripard <maxime.ripard@free-electrons.com> wrote:
> > You never got back to us about this 500ms delay.
>
> In this case this 500ms sleep is just to avoid reading the time when
> the time (and in the worst case the date) is going to change.
> i.e. you are reading time and date on the last second of the day.
Hmmm, I don't understand how that delay is solving this issue. You're
only deferring this.
> > How does the RTC framework behaves when you register two devices with
> > the same string here?
>
> Should be safe since rtc_device_register() uses ida_simple_get() to
> get a new id.
Ok.
> >
> > Thanks!
>
> v3 on its way...
Cool, thanks.
You don't need to resend the DT patch btw, it's already been applied.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131027/858af91e/attachment.sig>
next prev parent reply other threads:[~2013-10-27 14:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-16 18:30 [PATCH v2 1/2] ARM: dts: sun4i/sun7i: add RTC node Carlo Caione
2013-10-16 18:30 ` [PATCH v2 2/2] ARM: sun4i/sun7i: RTC driver Carlo Caione
2013-10-22 15:23 ` Maxime Ripard
2013-10-26 9:19 ` Carlo Caione
2013-10-27 14:25 ` Maxime Ripard [this message]
2013-12-20 11:06 ` Alessandro Zummo
2013-10-27 14:27 ` Maxime Ripard
2013-10-22 15:00 ` [PATCH v2 1/2] ARM: dts: sun4i/sun7i: add RTC node Maxime Ripard
2013-10-22 15:06 ` Maxime Ripard
2013-10-22 15:16 ` Carlo Caione
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=20131027142521.GB16856@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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