lkml.org 
[lkml]   [2022]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rtc: gamecube: Always reset HW_SRNPROT after read
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

\
 
 \ /
  Last update: 2022-08-23 22:41    [W:0.082 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site