]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: usb: don't set URB_ZERO_PACKET flag for synchronous data
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 8 May 2018 09:45:14 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:41:51 +0000 (13:41 +0200)
commitac9bc846af4a3cc24908128a2579f62d4182bd5b
treea635f0c6b077c20fb8548f731f88bf17818cad89
parente1d2dbfa324eff592cd95587ac9583f5f964ab69
staging: most: usb: don't set URB_ZERO_PACKET flag for synchronous data

This patch avoids setting the URB_ZERO_PACKET transfer flag for synchronous
data. This is needed to prevent the host from sending an empty packet when
data is aligned to an endpoint packet boundary.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/usb/usb.c