diff options
author | hayeswang <hayeswang@realtek.com> | 2016-01-07 12:12:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-09 05:50:18 +0300 |
commit | 5ee3c60c8d3b88cab6496c9b7d49a01576dd9cf9 (patch) | |
tree | 634e8e5914ef37302e614f14b9c0b739b0ee511d /drivers/net/usb/cdc_ether.c | |
parent | b4c19f71252e3b6b8c6478fd712c592f00b11438 (diff) | |
download | linux-5ee3c60c8d3b88cab6496c9b7d49a01576dd9cf9.tar.xz |
r8152: fix the wake event
When the autosuspend is enabled and occurs before system suspend, we should
wake the device before running system syspend. Then, we could change the wake
event for system suspend. Otherwise, the device would resume the system when
receiving any packet.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
0 files changed, 0 insertions, 0 deletions