summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-max8907c.c
AgeCommit message (Collapse)Author
2012-02-29rtc: max8907c: correct month index calculation.Joseph Yoon
max8907c is returning Jan as 1 from rtc register. but kernel is assuming Jan as 0. so correct month index. Change-Id: I9b77b89952442891f53ebd6355352f36a07521cd Signed-off-by: Joseph Yoon <tyoon@nvidia.com> Reviewed-on: http://git-master/r/86561 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2011-11-30rtc: max8907c: fix startup crashPrashant Gaikwad
The rtc_device_register() call has changed semantics so that it will immediately call out to rtc_read_alarm() and since the callbacks require the drvdata to be set, we need to set it before the registration call to valid NULL dereference. Based on 21b398e9670f0bb8f05b7b4cd03e018e8a0b7522 Change-Id: I4960a180ffb63415310bf9fce05de155d0633337 Reviewed-on: http://git-master/r/49460 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rb5896ff9928b249d97c263e1647ca451e0380b74
2011-11-30max8907c rtc: support wake alarmsTom Cherry
This change allows rtc alarms to wake the system. Original-Change-Id: I2a7212fe7cc02b08893fe3a37824b0d39a9f5386 Reviewed-on: http://git-master/r/20101 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R8cd38d3f738f95f7b4a2d85c0f23f8229ae1e910
2011-11-30max8907c RTC driverTom Cherry
Initial checkin for Maxim max8907c RTC driver Original-Change-Id: I764440cc1b0410e54f480a6e0ce424103052df14 Reviewed-on: http://git-master/r/16615 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R1ccd0bd1d3e4ae3a353facb4edd9cb2d69bb5c2f