From: Felipe Balbi Date: Mon, 2 Jan 2012 16:25:43 +0000 (+0200) Subject: usb: dwc3: gadget: re-factor USB2 test mode to a function X-Git-Tag: v3.4-rc1~184^2~22^2~35^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a9bfcd50dd568a8f1a10194a7f336f6b3ad81c;p=pandora-kernel.git usb: dwc3: gadget: re-factor USB2 test mode to a function There are some situations were we might need to enable USB Test Modes without having access to a Host stack. In such situations we cannot rely solely on USB Control Messages to enable test features. For those cases, we will also allow test mode to be enabled via debugfs and this patch is a preparation for that. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed