On Thu, May 04, 2017 at 04:10:53PM +0800, Macpaul Lin wrote:
> This patch add supporting for 3 different USB 3.0 hubs
> with different bDeviceProtocol values.

What type of hubs are these?

> 
> Signed-off-by: Macpaul Lin <[email protected]>
> ---
>  drivers/usb/core/otg_whitelist.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/core/otg_whitelist.h 
> b/drivers/usb/core/otg_whitelist.h
> index 085049d..4295bf6 100644
> --- a/drivers/usb/core/otg_whitelist.h
> +++ b/drivers/usb/core/otg_whitelist.h
> @@ -21,6 +21,9 @@
>  /* hubs are optional in OTG, but very handy ... */
>  { USB_DEVICE_INFO(USB_CLASS_HUB, 0, 0), },
>  { USB_DEVICE_INFO(USB_CLASS_HUB, 0, 1), },
> +{ USB_DEVICE_INFO(USB_CLASS_HUB, 0, 2), },
> +{ USB_DEVICE_INFO(USB_CLASS_HUB, 0, 3), },
> +{ USB_DEVICE_INFO(USB_CLASS_HUB, 0, 4), },

Don't we have #defines for these hub values somewhere?  That would make
these lines a lot more readable :)

thanks,

greg k-h
--
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