public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] repair RTC subsys (for i.MX)
@ 2011-05-04 15:31 Wolfram Sang
  2011-05-04 15:31 ` [PATCH 1/3] rtc: mc13xxx: remove UIE signaling Wolfram Sang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Wolfram Sang @ 2011-05-04 15:31 UTC (permalink / raw)
  To: rtc-linux; +Cc: linux-kernel, johnstul, Wolfram Sang

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?

Kind regards,

   Wolfram

Wolfram Sang (3):
  rtc: mc13xxx: remove UIE signaling
  rtc: mxc: fix crash on boot
  rtc: mxc: remove UIE signaling

 drivers/rtc/rtc-mc13xxx.c |   23 -----------------------
 drivers/rtc/rtc-mxc.c     |   22 +++++++++++-----------
 2 files changed, 11 insertions(+), 34 deletions(-)

-- 
1.7.2.5


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

end of thread, other threads:[~2016-04-20 14:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 0/3] repair RTC subsys (for i.MX) john stultz
2011-05-05  9:31   ` [rtc-linux] " Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox