diff options
author | Ian Abbott <[email protected]> | 2022-10-27 17:32:49 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2022-11-15 21:01:51 +0100 |
commit | 4dfe05bdc1ade79b943d4979a2e2a8b5ef68fbb5 (patch) | |
tree | fad586ba8d243ba16fe745c9ad54d3d14914bbd5 /scripts/generate_rust_analyzer.py | |
parent | e59b3c730b44f042540319d62cba73054fd928c8 (diff) |
rtc: ds1347: fix value written to century register
In `ds1347_set_time()`, the wrong value is being written to the
`DS1347_CENTURY_REG` register. It needs to be converted to BCD. Fix
it.
Fixes: 147dae76dbb9 ("rtc: ds1347: handle century register")
Cc: <[email protected]> # v5.5+
Signed-off-by: Ian Abbott <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions