nvethernet: Rename functions to match close functionality

Issue: rename functions to match close functionality

Fix:
 1) Renamed osi_poll_for_swr() to osi_poll_for_mac_reset_complete()

Bug 2715276

Change-Id: I939d9804350110b3d28c16ff511390ce5ab0c625
Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2209755
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mahesh Patil
2019-10-01 16:23:46 -07:00
committed by Revanth Kumar Uppala
parent 1559acd4db
commit ece7ed224b
2 changed files with 5 additions and 5 deletions

View File

@@ -1286,7 +1286,7 @@ static int ether_open(struct net_device *dev)
}
}
ret = osi_poll_for_swr(osi_core);
ret = osi_poll_for_mac_reset_complete(osi_core);
if (ret < 0) {
dev_err(&dev->dev, "failed to poll MAC Software reset\n");
goto err_poll_swr;
@@ -3982,7 +3982,7 @@ static int ether_resume(struct ether_priv_data *pdata)
}
}
ret = osi_poll_for_swr(osi_core);
ret = osi_poll_for_mac_reset_complete(osi_core);
if (ret < 0) {
dev_err(dev, "failed to poll mac software reset\n");
return ret;