diff options
author | Thomas Pugliese <thomas.pugliese@gmail.com> | 2014-03-04 21:24:56 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-08 00:39:39 +0400 |
commit | 5090ecea133325f762704f00963bca1b024ee691 (patch) | |
tree | d2df02d31eacd3ea3cf1ca3e797c0667934c7a2c /drivers/usb/host/hwa-hc.c | |
parent | 2a6da97ff530650d26570a6a1ec0ac1deac927bd (diff) | |
download | linux-5090ecea133325f762704f00963bca1b024ee691.tar.xz |
usb: wusbcore: don't mark WA_SEG_DTI_PENDING segs as done in urb_dequeue
Data for transfer segments in the WA_SEG_DTI_PENDING state is actively
being read by the driver. Let the buffer read callback handle the
transfer cleanup since cleaning it up in wa_urb_dequeue will cause the
read callback to access invalid memory if the transfer is completed.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/hwa-hc.c')
0 files changed, 0 insertions, 0 deletions