diff options
author | hayeswang <hayeswang@realtek.com> | 2017-01-10 12:04:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-10 19:46:46 +0300 |
commit | 75dc692eda114cb234a46cb11893a9c3ea520934 (patch) | |
tree | 908721016bb910df80f52f42d21200f2bd305cfe /.mailmap | |
parent | 8fb280616878b81c0790a0c33acbeec59c5711f4 (diff) | |
download | linux-75dc692eda114cb234a46cb11893a9c3ea520934.tar.xz |
r8152: fix rx issue for runtime suspend
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>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions