summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDaniel Glöckner <dg@emlix.com>2009-05-28 12:53:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:44:46 -0700
commit2e25134122c25ebb0679b4bbd536fb46c669f9d7 (patch)
treee839d96eaad759f314517e8ea5e28760dc715347 /arch/sparc/include
parent9b8e7ba68ad0e4273f4897950de65bc311552cd1 (diff)
downloadkernel-crypto-2e25134122c25ebb0679b4bbd536fb46c669f9d7.tar.gz
kernel-crypto-2e25134122c25ebb0679b4bbd536fb46c669f9d7.tar.xz
kernel-crypto-2e25134122c25ebb0679b4bbd536fb46c669f9d7.zip
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>
Diffstat (limited to 'arch/sparc/include')
0 files changed, 0 insertions, 0 deletions