Commit 6f14cb53 authored by ROOL's avatar ROOL 🤖

Defined return on error

Detail:
  Ensure the returned status is defined if USBDriver_InsertTransfer fails (because USBDriver has gone).
  See similar in DWCDriver-0_34.

Version 0.24. Tagged as 'XHCIDriver-0_24'
parent bb2e5a20
/* (0.23)
/* (0.24)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.23
#define Module_MajorVersion_CMHG 0.24
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 07 Oct 2017
#define Module_Date_CMHG 27 Jan 2018
#define Module_MajorVersion "0.23"
#define Module_Version 23
#define Module_MajorVersion "0.24"
#define Module_Version 24
#define Module_MinorVersion ""
#define Module_Date "07 Oct 2017"
#define Module_Date "27 Jan 2018"
#define Module_ApplicationDate "07-Oct-17"
#define Module_ApplicationDate "27-Jan-18"
#define Module_ComponentName "XHCIDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/XHCIDriver"
#define Module_FullVersion "0.23"
#define Module_HelpVersion "0.23 (07 Oct 2017)"
#define Module_LibraryVersionInfo "0:23"
#define Module_FullVersion "0.24"
#define Module_HelpVersion "0.24 (27 Jan 2018)"
#define Module_LibraryVersionInfo "0:24"
......@@ -390,7 +390,7 @@ void usb_schedsoftintr(struct usbd_bus *sc)
usbd_status usb_insert_transfer(usbd_xfer_handle xfer)
{
usbd_status status;
usbd_status status = USBD_CANCELLED; /* Should _swix() error */
_swix(USBDriver_InsertTransfer, _IN(0) | _OUT(0), xfer, &status);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment