Browse Source
Function polling_with_timeout() returns last value from polled register on failure and zero on success. So set "ret" variable to error code -ETIMEDOUT on error like it is done in other functions. Signed-off-by: Pali Rohár <pali@kernel.org> Change-Id: I16cac81bbcbe2113e139722dc0e8fc2b85428d1bpull/1981/head
Pali Rohár
3 years ago
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue