From: Felipe Balbi Date: Wed, 6 Jun 2012 07:20:23 +0000 (+0300) Subject: usb: gadget: composite: fix ep->maxburst initialization X-Git-Tag: v3.6-rc1~101^2~53^2~28^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b785ea7ce662c47f6208071320638a4813722803;p=pandora-kernel.git usb: gadget: composite: fix ep->maxburst initialization bMaxBurst field on endpoint companion descriptor is supposed to contain the number of burst minus 1. When passing that to controller drivers, we should be passing the real number instead (by incrementing 1). While doing that, also fix the assumption on dwc3 that value comes decremented by one. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed