Re: [PATCH 10/13] drivers/usb/gadget: use USB API functions rather than constants

From: David Brownell
Date: Mon Dec 29 2008 - 16:01:28 EST


On Monday 29 December 2008, John Daiker wrote:
> So you're saying that these functions:
> usb_endpoint_dir_in(epd)
> usb_endpoint_dir_out(epd)
> usb_endpoint_is_bulk_in(epd)
> usb_endpoint_is_bulk_out(epd)
> usb_endpoint_is_int_in(epd)
> usb_endpoint_is_int_out(epd)
> usb_endpoint_num(epd)
> usb_endpoint_type(epd)
> usb_endpoint_xfer_bulk(epd)
> usb_endpoint_xfer_control(epd)
> usb_endpoint_xfer_int(epd)
> usb_endpoint_xfer_isoc(epd)
>
> Should be defined in ch9.h instead of usb.h?

Also usb_endpoint_is_isoc_{in,out}() ...


> If that's the case, then I'll be glad to cook up a patch! :)

I think Julia just signed up for that ...

- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/