[PATCH] USB: gadgetfs: set "zero" flag for short control-IN response
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 3 Jan 2006 15:30:31 +0000 (10:30 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 01:23:42 +0000 (17:23 -0800)
commit979063692726fa40863345fb1b62daf2f795ddc0
tree36c3be1c8ed2d6fa675a8f65cef1b1f350cb0224
parent0be930c546ad056cad5780ee9424a28cf979cb42
[PATCH] USB: gadgetfs: set "zero" flag for short control-IN response

This patch (as622) makes gadgetfs set the "zero" flag for control-IN
responses, when the length of the response is shorter than the length of
the request.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/inode.c