On Mon, 4 Aug 2014, Peter Chen 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.
> 
> Cc: [email protected]
> Signed-off-by: Peter Chen <[email protected]>
> ---
>  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..b82e74a 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);

Instead of violating the 80-column rule, you should reduce the 
excessive indentation on the continued line.

Apart from that,

Acked-by: Alan Stern <[email protected]>

--
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