diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-07-15 13:59:10 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-07-15 16:57:33 +0200 |
commit | 0bafb172b111ab27251af0eb684e7bde9570ce4c (patch) | |
tree | cc854db9d998bf66bd4fa1a1fc9bd97ef172b407 /drivers/firmware/trusted_foundations.c | |
parent | 6bad1bef26ca2b3fd6412c6e2ac943ae6f45351c (diff) |
firmware: turris-mox-rwtm: Do not complete if there are no waiters
Do not complete the "command done" completion if there are no waiters.
This can happen if a wait_for_completion() timed out or was interrupted.
Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver")
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/firmware/trusted_foundations.c')
0 files changed, 0 insertions, 0 deletions