Files
linux/drivers/net/ethernet
Guo-Fu Tseng e91b1dbdc1 jme: Fix device PM wakeup API usage
commit 81422e672f upstream.

According to Documentation/power/devices.txt

The driver should not use device_set_wakeup_enable() which is the policy
for user to decide.

Using device_init_wakeup() to initialize dev->power.should_wakeup and
dev->power.can_wakeup on driver initialization.

And use device_may_wakeup() on suspend to decide if WoL function should
be enabled on NIC.

Reported-by: Diego Viola <diego.viola@gmail.com>
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-04 14:48:54 -07:00
..
2015-09-29 21:11:12 -07:00
2015-12-15 12:43:01 -05:00
2015-09-29 21:11:13 -07:00
2015-09-29 13:49:53 -07:00
2015-09-08 22:44:42 -07:00
2015-12-13 23:36:55 -05:00
2015-12-03 13:43:06 -08:00
2016-04-20 15:42:04 +09:00
2015-12-15 12:46:26 -05:00
2016-05-04 14:48:54 -07:00