From: Michael Grzeschik Date: Mon, 11 Nov 2013 22:43:32 +0000 (+0100) Subject: usb: gadget: composite: reset delayed_status on reset_config X-Git-Tag: v3.2.54~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeddb0ad331b977136b213d5656d4ab08f52484f;p=pandora-kernel.git usb: gadget: composite: reset delayed_status on reset_config commit 2bac51a1827a18821150ed8c9f9752c02f9c2b02 upstream. The delayed_status value is used to keep track of status response packets on ep0. It needs to be reset or the set_config function would still delay the answer, if the usb device got unplugged while waiting for setup_continue to be called. Signed-off-by: Michael Grzeschik Signed-off-by: Felipe Balbi Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed