summaryrefslogtreecommitdiff
path: root/crypto/xts.c
diff options
context:
space:
mode:
authorGuo-Fu Tseng <cooldavid@cooldavid.org>2016-03-05 08:11:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-04 14:51:26 -0700
commitbfdaced9ab7d00ffa857a23cdfb30d82986d96ee (patch)
treee23a85a8176b7e940671b2654680a9004eec5049 /crypto/xts.c
parent560fd2871ea67293e36e00c0af2fc0b2c51e6cd1 (diff)
downloadlwn-bfdaced9ab7d00ffa857a23cdfb30d82986d96ee.tar.gz
lwn-bfdaced9ab7d00ffa857a23cdfb30d82986d96ee.zip
jme: Fix device PM wakeup API usage
commit 81422e672f8181d7ad1ee6c60c723aac649f538f 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>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions