diff options
author | Thomas Bogendoerfer <[email protected]> | 2020-09-10 10:41:24 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2020-09-15 11:24:29 +0200 |
commit | 9f8010e71f091b0609452742cfed4650ee633c44 (patch) | |
tree | a862fffb5c534a599b01d224c2518fd13da18ba3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d0a3b65052f041852c855ea1135659770ba0bc09 (diff) |
rtc: ds1685: Fix bank switching to avoid endless loop
ds1685_rtc_begin_data_access() tried to access an extended register before
enabling access to it by switching to bank 1. Depending on content in NVRAM
this could lead to an endless loop. While at it fix also switch back to
bank 0 in ds1685_rtc_end_data_access().
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Acked-by: Joshua Kinard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions