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

2014-08-25 Thread Greg Kroah-Hartman
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.c...@freescale.com 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: sta...@vger.kernel.org
  Signed-off-by: Peter Chen peter.c...@freescale.com
  Acked-by: Alan Stern st...@rowland.harvard.edu
  ---
 
  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 linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2014-08-24 Thread Peter Chen
On Tue, Aug 5, 2014 at 8:28 AM, Peter Chen peter.c...@freescale.com 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: sta...@vger.kernel.org
 Signed-off-by: Peter Chen peter.c...@freescale.com
 Acked-by: Alan Stern st...@rowland.harvard.edu
 ---

 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2014-08-04 Thread Peter Chen
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: sta...@vger.kernel.org
Signed-off-by: Peter Chen peter.c...@freescale.com
Acked-by: Alan Stern st...@rowland.harvard.edu
---

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;
}
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html