diff options
author | Preetham Chandru <pchandru@nvidia.com> | 2012-05-08 19:56:27 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-05-15 15:12:19 -0700 |
commit | d03e84c4d981d65d7b7e68322ce02157c7e7a6c7 (patch) | |
tree | 39896e15d67643cef86250f686b19e6016011cdb /arch/arm/configs/tegra3_android_defconfig | |
parent | b21def416c5850657ea7a366b8eb5dbb3a562452 (diff) |
rtc: tps6591x: Enable alarm interrupt for RTC_WKALM_SET ioctl
RTC_WKALM_SET ioctl should do two things:
1. Set alarm value
2. Enable alarm irq
In the current implementation for RTC_WKALM_SET ioctl we are only setting
the alarm value but not enabling the alarm irq and hence the system
is not waking from lp0 state once the set alarm value expiries.
For RTC_WKALM_SET ioctl, alarm->enabled will be set to one from userspace.
So based on this condition we can differentiate between RTC_WKALM_SET &
RTC_ALM_SET and accordingly enable alarm irq.
Bug 978205
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: Ia35192e691ca116b13093f52873020f67c5c2f8d
Reviewed-on: http://git-master/r/101447
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/configs/tegra3_android_defconfig')
0 files changed, 0 insertions, 0 deletions