commit | 923e1ee3ff0b585cc4f56cf696c8455708537ffb | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Wed Oct 29 11:12:15 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 30 15:49:00 2014 -0400 |
tree | f8706852ca3254b06a7a3bdf2070d1c8ab460616 | |
parent | d70127e8a942364de8dd140fe73893efda363293 [diff] |
r8152: clear SELECTIVE_SUSPEND when autoresuming The flag of SELECTIVE_SUSPEND should be cleared when autoresuming. Otherwise, when the system suspend and resume occur, it may have the wrong flow. Besides, because the flag of SELECTIVE_SUSPEND couldn't be used to check if the hw enables the relative feature, it should alwayes be disabled in close(). Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>