diff options
author | Mylène Josserand <mylene.josserand@free-electrons.com> | 2016-05-03 12:54:36 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-05-21 18:06:56 +0300 |
commit | dc492e866a997b3df2a551fa772d6887a19e53b8 (patch) | |
tree | 3a91ab494b4129aa92ea1ad5460f47dfe0cd2d6e /arch/arm/mach-mvebu | |
parent | abe2f551efc65760d61668ad6fb511bf834082dc (diff) | |
download | linux-dc492e866a997b3df2a551fa772d6887a19e53b8.tar.xz |
rtc: rv3029: fix alarm support
The RTC RV3029 handles different types of alarms : seconds, minutes, ...
These alarms can be enabled or disabled individually using an AE_x bit
which is the last bit (BIT(7)) on each alarm registers.
To prepare the alarm IRQ support, the current code enables all the alarm
types by setting each AE_x to 1.
It also fixes others alarms issues :
- month and weekday errors : it was performing -1 instead of +1.
- wrong use of bit mask with bin2bcd
Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-mvebu')
0 files changed, 0 insertions, 0 deletions