1. 13 11月, 2013 2 次提交
  2. 18 10月, 2013 1 次提交
  3. 10 10月, 2013 1 次提交
  4. 02 10月, 2013 1 次提交
  5. 19 9月, 2013 1 次提交
    • J
      rtc: rtc-pl031: Set wakeup flag prior to registering rtcdev · 07783397
      John Stultz 提交于
      In some recent testing, I noticed the CLOCK_REALTIME_ALARM clockid
      wasn't functioning on my vexpress qemu environment. Looking into it
      I noticed the pl031 rtc driver doesn't set the wakeup flag on the
      device until after registering the device with the RTC subsystem.
      
      This causes the alarmtimer subsystem to not see the pl031 driver
      as a valid backing device, and that resuls in alarm clockids
      getting ENOTSUPP errors.
      
      Thus be sure to set the wakeup flag on the device prior to
      registering the rtcdev so the pl031 rtc driver can be used as
      the backing alarmtimer device.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: "Jon Medhurst (Tixy)" <tixy@linaro.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      07783397
  6. 12 9月, 2013 14 次提交
  7. 14 8月, 2013 1 次提交
  8. 01 8月, 2013 1 次提交
  9. 30 7月, 2013 1 次提交
  10. 23 7月, 2013 1 次提交
    • Z
      rtc: Keep system awake until all expired RTC timers are handled · 14d0e347
      Zoran Markovic 提交于
      Current implementation of RTC interface allows for system suspend to
      occur in the following cases:
      (a) if a timer is set in the past and rtc_timer_do_work() is scheduled
      to handle it, and
      (b) if rtc_timer_do_work() is called to handle expired timers whose
      handlers implement a preemption point.
      
      A pending suspend request may be honoured in the above cases causing
      timer handling to be delayed until after the next resume. This is
      undesirable since timer handlers may have time-critical code to execute.
      
      This patch makes sure that the system stays awake until all expired
      timers are handled.
      
      Note that all calls to pm_stay_awake() are eventually paired with
      the single pm_relax() call in rtc_timer_do_work(), which is launched
      using schedule_work().
      
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Arve Hjonnevag <arve@android.com>
      Cc: Todd Poynor <toddpoynor@google.com>
      Signed-off-by: NZoran Markovic <zoran.markovic@linaro.org>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      14d0e347
  11. 16 7月, 2013 1 次提交
  12. 10 7月, 2013 1 次提交
  13. 04 7月, 2013 14 次提交