Re: [PATCH v2 1/1] usb: ehci: using wIndex + 1 for hub port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 5, 2014 at 8:28 AM, Peter Chen <peter.chen@xxxxxxxxxxxxx> 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: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx>
> Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> ---
>
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux