]> git.baikalelectronics.ru Git - kernel.git/commit
smsc75xx: enable power saving mode during system suspend
authorSteve Glendinning <steve.glendinning@shawell.net>
Fri, 28 Sep 2012 00:57:52 +0000 (00:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2012 22:35:47 +0000 (18:35 -0400)
commit54b7e508480e3c992a47ef6d286462c821f037c2
treee137efbead23c429a6f9d7db220e502272345c8e
parentb1ae76c2209437d5581aa37adbc7922df64b810d
smsc75xx: enable power saving mode during system suspend

This patch instructs the device to enter its lowest power SUSPEND2
state during system suspend.

This patch also explicitly wakes the device after resume, which
should address reports of the device not automatically coming
back after system suspend:

Patch updated to change BUG_ON to WARN_ON_ONCE.

http://code.google.com/p/chromium-os/issues/detail?id=31871

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c