summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2016-06-15 21:32:22 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-17 00:14:58 +0300
commit229666c14c75ae6c5016c49d8806438e843c6807 (patch)
treeccdf4369950214abff358f551a2cb6f5d80757ca /include/linux/stackprotector.h
parentcecbc5563a02289164fa6379130243cbe08b2dd6 (diff)
downloadlinux-229666c14c75ae6c5016c49d8806438e843c6807.tar.xz
net: stmmac: dwmac-rk: keep the PHY up for WoL
When suspending the machine, do not shutdown the external PHY by cutting its regulator in the mac platform driver suspend code if Wake-on-Lan is enabled, else it cannot wake us up. In order to do this, split the suspend/resume callbacks from the init/exit callbacks, so we can condition the power-down on the lack of need to wake-up from the LAN but do it unconditionally when unloading the module. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions