commit | 5ee3c60c8d3b88cab6496c9b7d49a01576dd9cf9 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Thu Jan 07 17:12:17 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 08 21:50:18 2016 -0500 |
tree | 634e8e5914ef37302e614f14b9c0b739b0ee511d | |
parent | b4c19f71252e3b6b8c6478fd712c592f00b11438 [diff] |
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>