diff options
author | Kashyap Desai <kashyap.desai@broadcom.com> | 2023-06-09 04:01:43 -0700 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-06-12 10:10:16 +0300 |
commit | 3022cc15119733cebaef05feddb5d87b9e401c0e (patch) | |
tree | 310a7cbdf5f80f28e7f4671597eba0e869dab393 /drivers/dma/mmp_tdma.c | |
parent | 8cf1d12ad56beb73d2439ccf334b7148e71de58e (diff) |
RDMA/bnxt_re: Avoid the command wait if firmware is inactive
Add a check to avoid waiting if driver already detects a
FW timeout. Return success for resource destroy in case
the device is detached. Add helper function to map timeout
error code to success.
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1686308514-11996-7-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/dma/mmp_tdma.c')
0 files changed, 0 insertions, 0 deletions