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:Guangbin Huang <huangguangbin2@huawei.com> Reviewed-by:
Peng Li <lipeng321@huawei.com> Reviewed-by:
Zhong Zhaohui <zhongzhaohui@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment