From: Amit Virdi Date: Fri, 22 Aug 2014 09:06:36 +0000 (+0530) Subject: usb: gadget: zero: Add support for interrupt EP X-Git-Tag: fixes-for-v3.18-merge-window~16^2~118^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef11982dd7a657512c362242508bb4021e0d67b6;p=pandora-kernel.git usb: gadget: zero: Add support for interrupt EP Interrupt endpoints behave quite similar to the bulk endpoints with the difference that the endpoints expect data sending/reception request at particular intervals till the whole data has not been transmitted. The interrupt EP support is added to gadget zero. A new alternate setting (=2) has been added. It has 2 interrupt endpoints. The default parameters are set as: bInterval: 1 ms for FS and 8 uFrames (implying 1 ms) for HS/SS wMaxPacketSize: 64 bytes for FS and 1024 bytes for HS/SS However, the same can be overridden through the module parameter interface. The code is tested for HS and SS on a platform having DWC3 controller. Signed-off-by: Amit Virdi Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed