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 Mon, Aug 25, 2014 at 01:29:54PM +0800, Peter Chen wrote:
> 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.

Nope, I'm still catching up on things, this was way down on the bottom
of my list, sorry...
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]