From: Thomas Pugliese Date: Tue, 4 Mar 2014 17:24:56 +0000 (-0600) Subject: usb: wusbcore: don't mark WA_SEG_DTI_PENDING segs as done in urb_dequeue X-Git-Tag: v3.15-rc1~137^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5090ecea133325f762704f00963bca1b024ee691;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed