On Tue, Aug 5, 2014 at 8:28 AM, Peter Chen <[email protected]> wrote:
> The roothub's index per controller is from 0, but the hub port index per hub
> is from 1, this patch fixes "can't find device at roohub" problem for 
> connecting
> test fixture at roohub when do USB-IF Embedded Host High-Speed Electrical 
> Test.
>
> This patch is for v3.12+.
>
> Cc: [email protected]
> Signed-off-by: Peter Chen <[email protected]>
> Acked-by: Alan Stern <[email protected]>
> ---
>
> Changes for v2:
> - Fix more than 80-column per line problem
> - Add information that this patch is available for stable tree from v3.12
>
>  drivers/usb/host/ehci-hub.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
> index cc305c7..6130b75 100644
> --- a/drivers/usb/host/ehci-hub.c
> +++ b/drivers/usb/host/ehci-hub.c
> @@ -1230,7 +1230,7 @@ int ehci_hub_control(
>                         if (selector == EHSET_TEST_SINGLE_STEP_SET_FEATURE) {
>                                 spin_unlock_irqrestore(&ehci->lock, flags);
>                                 retval = ehset_single_step_set_feature(hcd,
> -                                                                       
> wIndex);
> +                                                               wIndex + 1);
>                                 spin_lock_irqsave(&ehci->lock, flags);
>                                 break;
>                         }
> --

Hi Greg, Does this patch will be in your usb-linus branch? I haven't found it.

-- 
BR,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to