]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hinic: fix a bug of waitting for IO stopped
authorLuo bin <luobin9@huawei.com>
Fri, 20 Mar 2020 23:13:16 +0000 (23:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 02:43:38 +0000 (19:43 -0700)
commit96758117dc528e6d84bd23d205e8cf7f31eda029
tree1b954331504037b60ae7071c1fdc85a5769f5105
parent07f8e4d0fddbf2f87e4cefb551278abc38db8cdd
hinic: fix a bug of waitting for IO stopped

it's unreliable for fw to check whether IO is stopped, so driver
wait for enough time to ensure IO process is done in hw before
freeing resources

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c