commit | 36d97fda6e55fb38c35a7ef1b1683b38f340f9b9 | [log] [tgz] |
---|---|---|
author | jb.qi <jb.qi@mobiletek.cn> | Sat Feb 17 22:42:54 2024 -0800 |
committer | jb.qi <jb.qi@mobiletek.cn> | Sat Feb 17 22:42:54 2024 -0800 |
tree | 6541462a718eafca953e7010582d1c1f4c32ac31 | |
parent | ae882328cacec35eaa60563df4ef145b5a219a23 [diff] |
[Bugfix][T106BUG-524][AUTOSUSPEND]Because GMAC has not been powered off, the sleep bottom current is high Only Configure :No Affected branch: master Affected module: AUTOSUSPEND Is it affected on both ZXIC and MTK:only ZXIC Self-test: Yes Doc Update: Yes Change-Id: I21daf8b16f9ae5fbf899dfc6cdea62aa3e3683c2
diff --git a/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/net/ethernet/zte/zx29_gmac.c b/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/net/ethernet/zte/zx29_gmac.c index a4d3372..5d3f1d4 100644 --- a/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/net/ethernet/zte/zx29_gmac.c +++ b/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/net/ethernet/zte/zx29_gmac.c
@@ -1626,7 +1626,7 @@ SET_NETDEV_DEV(ndev, &pdev->dev); //if not, will panic base = devm_platform_ioremap_resource(pdev, 0); - + gmac_power_flag = prv->gpio_power[0];//jb.qi add for gamc power down on 20231116 ndev->base_addr = base;/*iomem->start;*/ if (!ndev->base_addr) return -ENXIO;