# Re: \[PATCH\] rtc: rtc-nuc900: fix loop timeout test

- From: Alexandre Belloni \<hidden\>
- Date: 2017-07-05 21:09:29 
- List: linux-rtc
- Page: https://ratatoskr.run/linux-rtc/2017/07/9566441
- Thread: https://ratatoskr.run/linux-rtc/2017/06/9566398/t.md

```text
On 23/06/2017 at 11:29:00 +0300, Dan Carpenter wrote:
> We should change this post-op to a pre-op because we want the loop to
> exit with "timeout" set to zero.
> 
> Fixes: 0a89b55364e0 ("nuc900/rtc: change the waiting for device ready implement")
> Signed-off-by: Dan Carpenter <redacted>
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
```
