android_kernel_samsung_a7y1.../include
Eric Wong 9386021e47 rtc: cmos: ignore bogus century byte
[ Upstream commit 2a4daadd4d3e507138f8937926e6a4df49c6bfdc ]

Older versions of Libreboot and Coreboot had an invalid value
(`3' in my case) in the century byte affecting the GM45 in
the Thinkpad X200.  Not everybody's updated their firmwares,
and Linux <= 4.2 was able to read the RTC without problems,
so workaround this by ignoring invalid values.

Fixes: 3c217e51d8a272b9 ("rtc: cmos: century support")

Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sylvain Chouleur <sylvain.chouleur@intel.com>
Cc: Patrick McDermott <patrick.mcdermott@libiquity.com>
Cc: linux-rtc@vger.kernel.org
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:40:13 +02:00
..
acpi
asm-generic rtc: cmos: ignore bogus century byte 2020-04-07 13:40:13 +02:00
clocksource
crypto
drm drm: mst: Fix query_payload ack reply struct 2020-04-07 13:20:02 +02:00
dt-bindings
keys
kvm
linux regulator: ab8500: Remove SYSCLKREQ from enum ab8505_regulator_id 2020-04-07 13:39:01 +02:00
math-emu math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning 2020-04-07 12:44:41 +02:00
media
memory
misc
net cfg80211/mac80211: make ieee80211_send_layer2_update a public function 2020-04-07 13:36:16 +02:00
pcmcia
ras
rdma
rxrpc
scsc
scsi scsi: target: iscsi: Wait for all commands to finish before freeing a session 2020-04-07 13:23:29 +02:00
sdp
soc
sound ASoC: Define a set of DAPM pre/post-up events 2020-04-07 08:07:42 +02:00
target
trace
uapi netfilter: uapi: Avoid undefined left-shift in xt_sctp.h 2020-04-07 13:28:41 +02:00
video fbdev: Remove unused SH-Mobile HDMI driver 2020-04-07 12:31:27 +02:00
xen
Kbuild