hinic: bump up the timeout of UPDATE_FW cmd
authorLuo bin <luobin9@huawei.com>
Fri, 4 Sep 2020 08:37:29 +0000 (16:37 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 22:24:39 +0000 (15:24 -0700)
commit0c97ee5fbdca1be3cc7af730832170f4f7c38e68
treef6f67b9bd18055929564aea3489f00892ff23798
parent4e4269ebe7e18038fffacf113e2dd5ded6d49942
hinic: bump up the timeout of UPDATE_FW cmd

Firmware erases the entire flash region which may take several
seconds before flashing, so we bump up the timeout to ensure this
cmd won't return failure.

Fixes: 5e126e7c4e52 ("hinic: add firmware update support")
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c