diff options
author | Marek Behún <kabel@kernel.org> | 2024-07-15 13:59:11 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-07-15 16:57:48 +0200 |
commit | 8467cfe821ac3526f7598682ad5f90689fa8cc49 (patch) | |
tree | 145218010fd10f4eeab12e146978f47b0b058610 /Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml | |
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 <kabel@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml')
0 files changed, 0 insertions, 0 deletions