]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc-add-nxp-pcf8523-support-v2
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 29 Nov 2012 03:18:47 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:41 +0000 (16:23 +1100)
commit5b8a0f8bff72e390388cd49b1b9a3c2f92653a38
treeca0b369a62779fa1a4be1d392b338ab83e573c35
parent247ef07dd5c4d76e266d5fe47ba1499f038390ca
rtc-add-nxp-pcf8523-support-v2

Changes in v2:
- return an error if the OS flag cannot be cleared
- add comment as to why we clear the OS flag
- restart RTC if setting the time fails

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-pcf8523.c