From: [email protected] Date: Sat, 5 Mar 2016 08:11:56 +0800 > From: Guo-Fu Tseng <[email protected]> > > 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 <[email protected]> > Signed-off-by: Guo-Fu Tseng <[email protected]>
Applied.
