diff options
author | hayeswang <hayeswang@realtek.com> | 2017-01-10 17:04:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-15 13:41:35 +0100 |
commit | 0d3b9c2746d34a701f21c143c8f09a0887f5e203 (patch) | |
tree | 39ece3773189baa6a0e5fae9d41e26c336fb45ee /Documentation/edac.txt | |
parent | c31a3c79928bee12a42f997c2f597d9fd68b1170 (diff) |
r8152: fix rx issue for runtime suspend
[ Upstream commit 75dc692eda114cb234a46cb11893a9c3ea520934 ]
Pause the rx and make sure the rx fifo is empty when the autosuspend
occurs.
If the rx data comes when the driver is canceling the rx urb, the host
controller would stop getting the data from the device and continue
it after next rx urb is submitted. That is, one continuing data is
split into two different urb buffers. That let the driver take the
data as a rx descriptor, and unexpected behavior happens.
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>
Diffstat (limited to 'Documentation/edac.txt')
0 files changed, 0 insertions, 0 deletions