Separate SAMA5 OHCI interrupt handling into separate functions

This commit is contained in:
Gregory Nutt
2013-08-13 13:34:35 -06:00
parent ad258cb3b7
commit b575450a04
2 changed files with 233 additions and 174 deletions
+2
View File
@@ -401,6 +401,7 @@ int usbhost_enumerate(FAR struct usbhost_driver_s *drvr, uint8_t funcaddr,
udbg("ERROR: SETADDRESS DRVR_CTRLOUT returned %d\n", ret);
goto errout;
}
usleep(2*1000);
/* Modify control pipe with the provided USB device address */
@@ -514,5 +515,6 @@ errout:
{
DRVR_FREE(drvr, (uint8_t*)ctrlreq);
}
return ret;
}