projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d494eac
)
[netdrvr] dm9000: use delayed work to update mii phy state fix
author
Andrew Morton
<akpm@linux-foundation.org>
Wed, 14 May 2008 23:20:12 +0000
(16:20 -0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Thu, 22 May 2008 10:03:28 +0000
(06:03 -0400)
use cancel_delayed_work_sync()
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/dm9000.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dm9000.c
b/drivers/net/dm9000.c
index d45bcd2660afea3817fee5e1ff74b5aacd2fbb0c..864295e081b6756ae5ab5dec094db909235a5ae1 100644
(file)
--- a/
drivers/net/dm9000.c
+++ b/
drivers/net/dm9000.c
@@
-903,7
+903,7
@@
dm9000_stop(struct net_device *ndev)
if (netif_msg_ifdown(db))
dev_dbg(db->dev, "shutting down %s\n", ndev->name);
- cancel_delayed_work(&db->phy_poll);
+ cancel_delayed_work
_sync
(&db->phy_poll);
netif_stop_queue(ndev);
netif_carrier_off(ndev);