From: Gerard Cauvy Date: Fri, 10 Feb 2012 10:21:18 +0000 (+0200) Subject: usb: dwc3: ep0: fix SetFeature(TEST) X-Git-Tag: v3.4-rc1~184^2~22^2~35^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b637367ae40b6d3c20e30cb0cdd059e67bbf848;p=pandora-kernel.git usb: dwc3: ep0: fix SetFeature(TEST) When host requests us to enter a test mode, we cannot directly enter the test mode before Status Phase is completed, otherwise the core will never be able to deliver the Status ZLP to host, because it has already entered the requested Test Mode. In order to fix the error, we move the actual start of Test Mode right after we receive Transfer Complete event of the status phase. Signed-off-by: Gerard Cauvy Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed