Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e9cd5941 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Convert FW commands to use wait_for_completion_timeout()



The kernel has had wait_for_completion_timeout() for a long time now.
mthca should use it to handle FW commands timing out, instead of
implementing the same thing in a much more complicated way by using
wait_for_completion() along with a timer that does complete().

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent f5358a17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment