]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usbnet: smsc95xx: fix broken runtime suspend
authorMing Lei <ming.lei@canonical.com>
Fri, 22 Feb 2013 03:05:04 +0000 (03:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2013 20:49:51 +0000 (15:49 -0500)
commit42e21c01071b4406341e32aba65e40c7f9b7e973
treeb3be84ce175231ce85ee45caa213c42695297ee3
parent7643721471117d5f62ca36f328d3dc8d84af4402
usbnet: smsc95xx: fix broken runtime suspend

Commit b2d4b150(smsc95xx: enable dynamic autosuspend) implements
autosuspend, but breaks current runtime suspend, such as:
when the interface becomes down, the usb device can't be put into
runtime suspend any more.

This patch fixes the broken runtime suspend.

Cc: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c