]> git.baikalelectronics.ru Git - kernel.git/commit
smsc95xx: enable power saving mode during system suspend
authorSteve Glendinning <steve.glendinning@shawell.net>
Fri, 28 Sep 2012 00:07:11 +0000 (00:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2012 22:34:58 +0000 (18:34 -0400)
commit2ec13586b7fc48c438e047a40c3ed1ebe753e09f
tree3bab50b861a6881f1c63128d7c4d35de31ad8eae
parent3f3cff3e9a08e62434f577360ae2ab928ca10210
smsc95xx: enable power saving mode during system suspend

This patch enables the device to enter its lowest power SUSPEND2
state during system suspend, instead of staying up using full power.

Patch updated to not add two pointers to .suspend & .resume.

Patch updated to replace BUG_ON with WARN_ON_ONCE and return.

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