]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:11:49 +0000 (16:11 +0200)
commit1deeb3b2eb5c87d7211ba02ef295870d301b4f6e
tree442f266698382017372664821e45614ba0fc7650
parent02b436269287964581676f367627232022cd2ae8
hinic: fix a bug of waitting for IO stopped

[ Upstream commit 96758117dc528e6d84bd23d205e8cf7f31eda029 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c