aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2016-05-03 05:54:36 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-21 11:06:56 -0400
commitdc492e866a997b3df2a551fa772d6887a19e53b8 (patch)
tree3a91ab494b4129aa92ea1ad5460f47dfe0cd2d6e /fs/btrfs/tree-log.c
parentabe2f551efc65760d61668ad6fb511bf834082dc (diff)
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 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions