mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 09:42:19 +03:00
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:
committed by
Revanth Kumar Uppala
parent
1559acd4db
commit
ece7ed224b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user