diff options
author | Kevin Liu <kliu5@marvell.com> | 2012-03-24 02:02:36 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 03:58:39 +0400 |
commit | fad0738dcf6feccf601f5a24b8ccd3b26894b337 (patch) | |
tree | 7340f5de44b573899a6f7c82fe9647fdaf7760cc /drivers/dma/fsldma.c | |
parent | 0cf30bdd919685b201f715ea347dd96d590942e8 (diff) | |
download | linux-fad0738dcf6feccf601f5a24b8ccd3b26894b337.tar.xz |
drivers/rtc/rtc-max8925.c: fix alarm->enabled mistake in max8925_rtc_read_alarm/max8925_rtc_set_alarm
max8925_rtc_read_alarm() should set alrm->enabled based on both
ALARM_IRQ_MASK and ALARM_CTRL setting. max8925_rtc_set_alarm() should
enable/disable alarm according to ALARM_CTRL reg setting.
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dma/fsldma.c')
0 files changed, 0 insertions, 0 deletions