commit | 7ec2541aa7a026874930d6117e86fe2e76fb1587 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Mon Jan 04 14:38:46 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 04 22:02:08 2016 -0500 |
tree | 06dae37b9b6f9e44fb02589201559a79e1cc9b2b | |
parent | 55285bf09427c5abf43ee1d54e892f352092b1f1 [diff] |
r8152: add reset_resume function When the reset_resume() is called, the flag of SELECTIVE_SUSPEND should be cleared and reinitialize the device, whether the SELECTIVE_SUSPEND is set or not. If reset_resume() is called, it means the power supply is cut or the device is reset. That is, the device wouldn't be in runtime suspend state and the reinitialization is necessary. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>