summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorPhil Elwell <phil@raspberrypi.com>2021-10-15 12:12:08 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-10-15 21:09:38 +0200
commit9f08c9ed580a287de6546044e28f15bb183d00ff (patch)
tree8c0778f7656b32ba491bc285ce6fcea22c7f5961 /include/uapi/linux
parent4c8a7b80d5f3c924fbe08b24634fb67a97f96465 (diff)
downloadlinux-stable-9f08c9ed580a287de6546044e28f15bb183d00ff.tar.gz
linux-stable-9f08c9ed580a287de6546044e28f15bb183d00ff.tar.bz2
linux-stable-9f08c9ed580a287de6546044e28f15bb183d00ff.zip
rtc: pcf85063: Always clear EXT_TEST from set_time
Power-on reset after the insertion of a battery does not always complete successfully, leading to corrupted register content. The EXT_TEST bit will stop the clock from running, but currently the driver will never recover. Safely handle the erroneous state by clearing EXT_TEST as part of the usual set_time method. Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20211015111208.1757110-1-phil@raspberrypi.com
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions