Re: [PATCH] rtc: ds1685: Fix bank switching to avoid endless loop

From: Alexandre Belloni
Date: Tue Sep 15 2020 - 05:25:17 EST


On Thu, 10 Sep 2020 10:41:24 +0200, Thomas Bogendoerfer wrote:
> 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().

Applied, thanks!

[1/1] rtc: ds1685: Fix bank switching to avoid endless loop
commit: 9f8010e71f091b0609452742cfed4650ee633c44

Best regards,
--
Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>