Subject: Re: DM9000: Use delayed work to update MII PHY state

From: Andrew Morton <[email-masked]>
Date: Thu, 8 May 2008 13:11:02 -0700

On Thu, 8 May 2008 11:36:42 +0100
Ben Dooks <[email-masked]> wrote:

> @@ -879,6 +903,8 @@ 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);

I think this should be cancel_delayed_work_sync().