aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_pscsi.c
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2011-03-23 12:47:00 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-13 18:57:19 -0400
commitd834508e159fe8936f9e7fd941b1e2fe9a209d4b (patch)
treebdf1a95de3009fd17a7863907b593a92466f0ab8 /drivers/target/target_core_pscsi.c
parentcb62d65f966146a39fdde548cb474dacf1d00fa5 (diff)
USB: fsl_qe_udc: send ZLP when zero flag and length % maxpacket == 0
The driver did not take the zero flag in the USB request. If the request length is the same as the endpoint's maxpacket, an additional ZLP with no data has to be transmitted. The method used here is inspired to what is done in fsl_udc_core.c (and pxa27x_udc.c and at91_udc.c) where this is supported. There already was a discussion about this topic with people from Keymile, and I propose here a better implementation: http://thread.gmane.org/gmane.linux.usb.general/38951 Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Acked-by: Li Yang <leoli@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
0 files changed, 0 insertions, 0 deletions