[PORT FROM R2] VRTC: Sync time to MSIC RTC when NTP enabled
authorShuoX Liu <shuox.liu@intel.com>
Mon, 14 Nov 2011 04:52:08 +0000 (12:52 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 9 Feb 2012 22:30:42 +0000 (14:30 -0800)
commitebd7262b2e2f1e00c3d0ad3079d96d05730c40d2
tree8fe6b0dff7915b2a2189e78223fafe6df39020d8
parente9716f9df0cf4e406b31d68307e8805d59c90b66
[PORT FROM R2] VRTC: Sync time to MSIC RTC when NTP enabled

BZ: 22580

NTP uses update_persistent_clock->...->vrtc_set_mmss to set vRTC.
We should sync the modified time to MSIC RTC.

Change-Id: I2376909e401f96c972c58de6bf2bfdfef1398d63
Signed-off-by: ShuoX Liu <shuox.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/29665
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/kernel/rtc.c