summaryrefslogtreecommitdiff
path: root/include/linux/usb/gadget.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2017-09-26 15:15:58 -0400
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-10-11 13:07:46 +0300
commitc9f20aafc939cc4091757c4d033feb010445f15d (patch)
tree4236459dbfee5f914c32e64f8d3268a3d9fc2be2 /include/linux/usb/gadget.h
parentffc4ea79bc06f42283da10ea06bb17b9a3e2b2b4 (diff)
downloadlinux-c9f20aafc939cc4091757c4d033feb010445f15d.tar.gz
linux-c9f20aafc939cc4091757c4d033feb010445f15d.tar.xz
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>
Diffstat (limited to 'include/linux/usb/gadget.h')
0 files changed, 0 insertions, 0 deletions