projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74a762
)
eth/r8152: reset PHY after setting it
author
Hayes Wang
<hayeswang@realtek.com>
Tue, 16 Jun 2020 09:09:45 +0000
(17:09 +0800)
committer
Marek Vasut
<marex@denx.de>
Tue, 1 Sep 2020 12:47:36 +0000
(14:47 +0200)
Some settings of PHY have to work after resetting PHY.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
drivers/usb/eth/r8152.c
patch
|
blob
|
history
diff --git
a/drivers/usb/eth/r8152.c
b/drivers/usb/eth/r8152.c
index 8cefacbd7ecef3ee8cc163c7aac677248c91f096..421293407f6a85496d45aab4e3f17af5aaee884f 100644
(file)
--- a/
drivers/usb/eth/r8152.c
+++ b/
drivers/usb/eth/r8152.c
@@
-947,7
+947,7
@@
static int rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u16 speed, u8 duplex)
return -EINVAL;
}
- bmcr = BMCR_ANENABLE | BMCR_ANRESTART;
+ bmcr = BMCR_ANENABLE | BMCR_ANRESTART
| BMCR_RESET
;
}
if (tp->supports_gmii)