projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8246d76
)
Revert "Revert "usbnet: smsc95xx: Don't clear read-only PHY interrupt""
author
Dom Cobley
<popcornmix@gmail.com>
Mon, 5 Sep 2022 11:45:06 +0000
(12:45 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 5 Sep 2022 11:45:06 +0000
(12:45 +0100)
This reverts commit
b50b2815045cbc86e3b34178e9df69a988991a61
.
drivers/net/usb/smsc95xx.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/smsc95xx.c
b/drivers/net/usb/smsc95xx.c
index
64ad4f1
..
220026c
100644
(file)
--- a/
drivers/net/usb/smsc95xx.c
+++ b/
drivers/net/usb/smsc95xx.c
@@
-583,10
+583,6
@@
static int smsc95xx_link_reset(struct usbnet *dev)
unsigned long flags;
int ret;
- ret = smsc95xx_write_reg(dev, INT_STS, INT_STS_CLEAR_ALL_);
- if (ret < 0)
- return ret;
-
spin_lock_irqsave(&pdata->mac_cr_lock, flags);
if (pdata->phydev->duplex != DUPLEX_FULL) {
pdata->mac_cr &= ~MAC_CR_FDPX_;