RTC v3020 fixes
authorMike Rapoport <mike@compulab.co.il>
Tue, 11 Sep 2007 22:23:45 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 00:21:20 +0000 (17:21 -0700)
commitf3d79b20df961880697c8442e1f7bc7969ce50a4
tree0fbaa4aaf098ce0a6f9048a508a8a53c3ff6ed8f
parent693c10e6c1087e8f0ba0e2fd1a67adcff230a484
RTC v3020 fixes

Fix off-by-one in month calculations
Add delay for bus accesses to satisfy Tw > 500ns

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Raphael Assenat <raph@8d.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-v3020.c