Daniel Glöckner 2e25134122 USB: gadget: g_serial: append zlp when tx buffer becomes empty
Some usb serial host drivers expect a short packet before they forward
the data to the application. This is caused by them trying to read more
than one packet at a time. So when the gadget sends an exact multiple
of the maximum packet size, it should append a zero-length packet.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-06-15 21:44:46 -07:00
..
2009-01-07 09:59:58 -08:00
2008-10-22 10:05:28 -07:00
2009-01-07 10:00:11 -08:00
2009-01-07 10:00:11 -08:00
2008-07-21 15:16:10 -07:00
2008-07-21 15:16:10 -07:00
2008-10-17 14:40:53 -07:00