rtc: cmos: Revert "rtc: Fix the AltCentury value on AMD/Hygon platform"
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 4 Jan 2020 04:31:10 +0000 (05:31 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 4 Jan 2020 04:31:50 +0000 (05:31 +0100)
commitf01f4ffdfb703694035870f94b10f6ef2523f8de
treed3de692979f3d18060691688a1344e3e9080d449
parent653997eeecef95c3ead4fba1b2d27e6a5854d6cd
rtc: cmos: Revert "rtc: Fix the AltCentury value on AMD/Hygon platform"

There are multiple reports of this patch breaking RTC time setting for AMD
platforms.

This reverts commit 7ad295d5196a58c22abecef62dd4f99e2f86e831.

Cc: Jinke Fan <fanjinke@hygon.cn>
Link: https://lore.kernel.org/r/CABXGCsMLob0DC25JS8wwAYydnDoHBSoMh2_YLPfqm3TTvDE-Zw@mail.gmail.com
Fixes: 7ad295d5196a ("rtc: Fix the AltCentury value on AMD/Hygon platform")
Link: https://lore.kernel.org/r/20200104043110.707810-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mc146818-lib.c