From: Felipe Balbi Date: Mon, 22 Jul 2013 09:31:31 +0000 (+0300) Subject: usb: dwc3: ep0: only change to ADDRESS if set_config() succeeds X-Git-Tag: v3.12-rc1~186^2~77^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a42d83536a5ea7ea7b4ad279c34c4c4ce509b5a;p=pandora-kernel.git usb: dwc3: ep0: only change to ADDRESS if set_config() succeeds In case we're switching back to USB_STATE_ADDRESS from USB_STATE_CONFIGURED (if host sends a set configuration command for configuration zero), we should only switch if the request is successfully processed by the gadget driver. Reported-by: Alan Stern Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed