From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <5332D0C8.5040300@cogentembedded.com> Date: Wed, 26 Mar 2014 17:06:16 +0400 From: Sergei Shtylyov MIME-Version: 1.0 To: Roger Quadros , balbi@ti.com CC: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, "3.9+" , Sebastian Andrzej Siewior Subject: Re: [PATCH] usb: gadget: zero: Fix SuperSpeed enumeration for alternate setting 1 References: <1395826086-5097-1-git-send-email-rogerq@ti.com> In-Reply-To: <1395826086-5097-1-git-send-email-rogerq@ti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: Hello. On 26-03-2014 13:28, Roger Quadros wrote: > It was impossible to enumerate on a SuperSpeed (XHCI) host > with alternate setting = 1 due to the wrongly set 'bMaxBurst' > field in the SuperSpeed Endpoint Companion descriptor. > Testcase: > modprobe -r usbtest; modprobe usbtest alt=1 > modprobe g_zero > plug device to SuperSpeed port on the host. > Without this patch the host always complains like so > "usb 12-2: Not enough bandwidth for new device state. > usb 12-2: Not enough bandwidth for altsetting 1" > Bug was introduced by commit cf9a08ae in v3.9 Please also specify that commit's summary in parens. Also, there's now an adopted standard way of saying this: Fixes: <12-digit SHA ID> ("") > Cc: 3.9+ # 3.9+ > Cc: Sebastian Andrzej Siewior > Reviewed-by: Felipe Balbi > Signed-off-by: Roger Quadros WBR, Sergei