OSDN Git Service

staging: octeon-usb: fix unaligned isochronous transfers
authorJohan Hovold <johan@kernel.org>
Thu, 23 Apr 2015 14:06:52 +0000 (16:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2015 11:14:21 +0000 (13:14 +0200)
commitb97c3c1a0b538a61fb1cab057738ccb64ae51e4d
treeeea8ebadaca3abdbf7f81cab727027c98410ed63
parentb787f68c36d49bb1d9236f403813641efa74a031
staging: octeon-usb: fix unaligned isochronous transfers

Make sure to copy the whole transfer buffer when releasing the temporary
buffer used for unaligned isochronous transfers as the data is not
necessarily contiguous in that case.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/octeon-hcd.c