net: hns3: modify timing of reading register in hclge_reset_wait()
driver inclusion category: bugfix bugzilla: NA CVE: NA In order to get register status earlier, this patch modifies the code timing to read register firstly and then go to sleep to wait. Signed-off-by: NGuangbin Huang <huangguangbin2@huawei.com> Reviewed-by: NPeng Li <lipeng321@huawei.com> Reviewed-by: NZhong Zhaohui <zhongzhaohui@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录