]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: rtc-nuc900: fix loop timeout test
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Jun 2017 08:29:00 +0000 (11:29 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Jul 2017 20:37:16 +0000 (22:37 +0200)
commitd0a67c372df410b579197ea818596001fe20070d
tree09eb3d616ebd7c542a41fe2cd0b814f118e03f4e
parent1d61d2592c1f70d74112ed1ee8f182694dc43c48
rtc: rtc-nuc900: fix loop timeout test

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 <dan.carpenter@oracle.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-nuc900.c