On 11/08/2013 07:39 PM, Felipe Balbi wrote:
> diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c
> index a777f7b..feaaa7b 100644
> --- a/drivers/usb/gadget/epautoconf.c
> +++ b/drivers/usb/gadget/epautoconf.c
> @@ -58,7 +58,7 @@ ep_matches (
>               return 0;
>  
>       /* only support ep0 for portable CONTROL traffic */
> -     type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
> +     type = usb_endpoint_type(desc);
>       if (USB_ENDPOINT_XFER_CONTROL == type)
>               return 0;
>  

This does not depend on anything and could go in as is.

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