]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: dummy-hcd: remove unsupported isochronous endpoints
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 26 Sep 2017 19:15:58 +0000 (15:15 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 11 Oct 2017 10:07:46 +0000 (13:07 +0300)
commitc9f20aafc939cc4091757c4d033feb010445f15d
tree4236459dbfee5f914c32e64f8d3268a3d9fc2be2
parentffc4ea79bc06f42283da10ea06bb17b9a3e2b2b4
USB: dummy-hcd: remove unsupported isochronous endpoints

The dummy-hcd driver doesn't support emulation of isochronous
transfers.  Therefore it doesn't need to export isochronous endpoint
descriptors; they can be commented out.

Also, the comments in the source code don't express clearly enough the
fact that isochronous isn't supported.  They need to be more explicit.

Finally, change the error status value we use (in theory) for
isochronous URBs.  checkpatch complains about ENOSYS; EINVAL is more
appropriate (it is documented to mean "ISO madness").

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/dummy_hcd.c