Re: [Patch V3 2/2] usbtest: Add interrupt EP testcases

2014-05-27 Thread Amit Virdi
On 5/23/2014 8:14 PM, Daniele Forsi wrote: 2014-05-23 8:32 GMT+02:00 Amit Virdi: @@ -124,6 +130,9 @@ get_endpoints(struct usbtest_dev *dev, struct usb_interface *intf) switch (usb_endpoint_type(&e->desc)) { case USB_ENDPOINT_XFER_BULK:

Re: [Patch V3 2/2] usbtest: Add interrupt EP testcases

2014-05-23 Thread Daniele Forsi
2014-05-23 8:32 GMT+02:00 Amit Virdi: > @@ -124,6 +130,9 @@ get_endpoints(struct usbtest_dev *dev, struct > usb_interface *intf) > switch (usb_endpoint_type(&e->desc)) { > case USB_ENDPOINT_XFER_BULK: > break; > +

[Patch V3 2/2] usbtest: Add interrupt EP testcases

2014-05-22 Thread Amit Virdi
Two simple test cases for interrupt endpoints are added to the usbtest.c file. These are simple non-queued interrupt IN and interrupt OUT transfers. Currently, only gadget zero is capable of executing the interrupt EP test cases. However, extending the same to other gadgets is extremely simple and