diff options
author | Marek Behún <[email protected]> | 2024-07-15 13:59:11 +0200 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2024-07-15 16:57:48 +0200 |
commit | 8467cfe821ac3526f7598682ad5f90689fa8cc49 (patch) | |
tree | 145218010fd10f4eeab12e146978f47b0b058610 /scripts/rustdoc_test_builder.rs | |
parent | 0bafb172b111ab27251af0eb684e7bde9570ce4c (diff) |
firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
The wait_for_completion_timeout() function returns 0 if timed out, and a
positive value if completed. Fix the usage of this function.
Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver")
Fixes: 2eab59cf0d20 ("firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng")
Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions