[lkml]   [2011]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH 0/3] repair RTC subsys (for i.MX)
    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 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(-)


     \ /
      Last update: 2011-05-04 17:35    [W:0.023 / U:0.088 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site