OSDN Git Service

rtc: gamecube: Report low battery as invalid data
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Wed, 15 Dec 2021 17:54:58 +0000 (18:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 16 Dec 2021 09:46:35 +0000 (10:46 +0100)
commit322539a014bcd24cbb9281832c09b24e07912237
tree6c3c8b22747a16192c533e58e6b787f887a8951d
parent86559400b3ef9de93ba50523cffe767c35cd531a
rtc: gamecube: Report low battery as invalid data

I haven’t been able to test this patch as all of my consoles have a
working RTC battery, but according to the documentation it should work
like that.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211215175501.6761-3-linkmauve@linkmauve.fr
drivers/rtc/rtc-gamecube.c