Skip to content
Commit 2771d09c authored by Phil Elwell's avatar Phil Elwell
Browse files

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: default avatarPhil Elwell <phil@raspberrypi.com>
parent 74973b1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment