From: Felipe Balbi Date: Tue, 29 Nov 2011 11:11:21 +0000 (+0200) Subject: usb: dwc3: gadget: fix stream enable bit X-Git-Tag: v3.3-rc1~153^2~30^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c90bfaece97c18d1ad66b9d4c717b1cb55a647ad;p=pandora-kernel.git usb: dwc3: gadget: fix stream enable bit ep->max_streams is a mere hint to the gadget driver that 'ep' supports stream handling. Using that as a decision variable for enabling streams was my worst brain-fart to date. Instead, we should check from the Superspeed Endpoint Companion Descriptor if the endpoint has requested streams. For that we need a little re-factoring but it is now correct. Debugged-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed