mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
eth: fix ethernet function failure
PD#143005: eth failed when suspend/resume Change-Id: I119469b295f2f588a5f5952fbae3d6ececb082cc Signed-off-by: Yizhou Jiang <yizhou.jiang@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
882c510212
commit
93a069a4d0
@@ -36,7 +36,9 @@ static void meson6_dwmac_fix_mac_speed(void *priv, unsigned int speed)
|
||||
{
|
||||
struct meson_dwmac *dwmac = priv;
|
||||
unsigned int val;
|
||||
|
||||
#ifdef CONFIG_AMLOGIC_ETH_PRIVE
|
||||
return;
|
||||
#endif
|
||||
val = readl(dwmac->reg);
|
||||
|
||||
switch (speed) {
|
||||
|
||||
Reference in New Issue
Block a user