1.5 |
| 19-Dec-2021 |
riastradh | linux: Fix wait_bit semantics.
- wait_on_bit is supposed to wait until the bit is cleared, not set.
- wait_on_bit_timeout is supposed to return 0 on success, -EAGAIN on faiure.
Omit wake_up_bit; nothing uses it and clear_and_wake_up_bit is a more semantically coherent operation.
|