Sergey Matyukevich f3f99cf391 rtc: fixes and new functionality for fm3130
- add sanity check for alarm data in fm3130_probe

- fix fm3130_set_alarm.

  According to the datasheet, setting match bit '0' indicates that the
  corresponding alarm field will be used in the match process

- add operation alarm_irq_enable operation which is responsible for
  handling RTC_AIE_ON, RTC_AIE_OFF ioctls

- remove clearing of AF bit after reading rtc/alarm control register:
  according to datasheet this bit is cleared anyway when rtc/alarm control
  register is read

[akpm@linux-foundation.org: make fm3130_alarm_irq_enable() static, fix comment layout]
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Sergey Lapin <slapin@ossfans.org>
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>
2010-08-11 08:59:07 -07:00
..
2010-08-05 13:26:17 +01:00
2010-08-05 13:26:17 +01:00
2010-05-27 09:12:41 -07:00
2009-09-23 07:39:46 -07:00
2009-02-11 14:25:36 -08:00
2009-02-05 12:56:46 -08:00
2010-06-29 15:29:31 -07:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2010-08-05 13:26:17 +01:00
2009-09-23 07:39:43 -07:00
2010-08-11 08:59:06 -07:00
2008-10-20 08:52:41 -07:00
2009-09-23 07:39:43 -07:00
2009-04-02 01:05:32 +00:00
2010-08-11 08:59:06 -07:00
2009-09-23 07:39:43 -07:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-12-16 07:20:00 -08:00