commit | 37b27b20a8a948ce5dfbd6e47272fd59e8bd0232 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Mon Jan 23 14:18:43 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 04 09:47:10 2017 +0100 |
tree | 2bb1ee94e9dfddbac75e5684638a7fbbdf6f2c67 | |
parent | ad864d9fce0ec56cc8f6afe5c6a0e6d7f484b9eb [diff] |
r8152: don't execute runtime suspend if the tx is not empty [ Upstream commit 6a0b76c04ec157c88ca943debf78a8ee58469f2d ] Runtime suspend shouldn't be executed if the tx queue is not empty, because the device is not idle. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>