From: john stultz <johnstul@us.ibm.com>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] repair RTC subsys (for i.MX)
Date: Wed, 04 May 2011 15:30:59 -0700 [thread overview]
Message-ID: <1304548259.2943.5.camel@work-vm> (raw)
In-Reply-To: <1304523088-17039-1-git-send-email-w.sang@pengutronix.de>
On Wed, 2011-05-04 at 17:31 +0200, Wolfram Sang wrote:
> The recent updates to the RTC subsystem (removing UIE interrupts and use
> alarms instead) introduced two problems for i.MX (and the subsys in
> general, I'd think):
>
> a) because registering the rtc now calls get_alarm(), the requirement
> has been added for a lot of drivers that drvdata is properly set up
> _before_ registering. rtc-mxc did not do that (probably bad; but as said
> like a lot of other rtc-drivers currently) and oopsed.
>
> b) the callbacks to the rtc-core for update_irqs have been removed, but
> irq-handlers are still there, now being unused cruft. In case of
> rtc-mxc, this is only one if-block, but for rtc-mc13xxx.c this is a
> seperate handler.
>
> From a glimpse, most platform drivers seem to have at least one of these
> problems now :( John, am I correct or am I missing something?
I've tried to go through and clean up most of the b) issues, although
some have apparently slipped by. Please let me know of any others you
ran across.
And indeed we've hit a few of issue a) already, so I should probably run
through and do a full audit.
Your patches look fine to me. Do you intend to push them or should I
queue them up?
thanks
-john
next prev parent reply other threads:[~2011-05-04 22:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 15:31 [PATCH 0/3] repair RTC subsys (for i.MX) Wolfram Sang
2011-05-04 15:31 ` [PATCH 1/3] rtc: mc13xxx: remove UIE signaling Wolfram Sang
2016-04-20 14:37 ` [1/3] " Alexandre Belloni
2016-04-20 14:51 ` Wolfram Sang
2011-05-04 15:31 ` [PATCH 2/3] rtc: mxc: fix crash on boot Wolfram Sang
2011-05-04 15:31 ` [PATCH 3/3] rtc: mxc: remove UIE signaling Wolfram Sang
2016-04-20 14:38 ` [3/3] " Alexandre Belloni
2011-05-04 22:30 ` john stultz [this message]
2011-05-05 9:31 ` [rtc-linux] Re: [PATCH 0/3] repair RTC subsys (for i.MX) Wolfram Sang
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=1304548259.2943.5.camel@work-vm \
--to=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rtc-linux@googlegroups.com \
--cc=w.sang@pengutronix.de \
/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