usb: dwc3: gadget: give better command return code
authorKonrad Leszczynski <konrad.leszczynski@intel.com>
Fri, 12 Feb 2016 15:21:46 +0000 (15:21 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 28 Apr 2016 06:02:00 +0000 (09:02 +0300)
commit7b9cc7a2b101cc73f6abe3468441381c98817e54
treeeb7f1313f50c5139287b3d6e692b06a06215a92e
parent0878263b68df372e6389b050fc2bd4f6d5b9f332
usb: dwc3: gadget: give better command return code

if Start Transfer command fails, let's try a little
harder to figure out why the command failed and give
slightly better return codes. This will be usefulf
or isochronous endpoints, at least, which could
decide to retry a given request.

Signed-off-by: Konrad Leszczynski <konrad.leszczynski@intel.com>
Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c