Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • drivers
  • rtc
  • interface.c
Find file BlameHistoryPermalink
  • Alexandre Belloni's avatar
    rtc: handle alarms with a minute resolution · d87f741d
    Alexandre Belloni authored Nov 07, 2021
    
    
    Handle alarms with a minute resolution in the core. Until now drivers have
    been open coding the seconds part removal and have been doing that wrongly.
    Most of them are rounding up which means the allow the system to miss
    deadlines. So, round down and let __rtc_set_alarm return immediately if the
    time has already passed.
    
    Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
    Link: https://lore.kernel.org/r/20211107225458.111068-1-alexandre.belloni@bootlin.com
    d87f741d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7