Re: [PATCH] rtc: gamecube: Always reset HW_SRNPROT after read

From: Alexandre Belloni
Date: Tue Aug 23 2022 - 16:40:46 EST


On Tue, 23 Aug 2022 15:07:02 +0200, Emmanuel Gil Peyrot wrote:
> This register would fail to be reset if reading the RTC bias failed for
> whichever reason. This commit reorganises the code around to
> unconditionally write it back to its previous value, unmap it, and
> return the result of regmap_read(), which makes it both simpler and more
> correct in the error case.
>
>
> [...]

Applied, thanks!

[1/1] rtc: gamecube: Always reset HW_SRNPROT after read
commit: 509451ac03eb3afa4c4a32d4c11b1938f08de8e4

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com