xiaoxiang781216 commented on code in PR #7472:
URL: https://github.com/apache/incubator-nuttx/pull/7472#discussion_r1011122367


##########
arch/arm/src/lpc54xx/lpc54_usb0_ohci.c:
##########
@@ -3904,11 +3903,9 @@ struct usbhost_connection_s 
*lpc54_usbhost_initialize(int controller)
         LPC54_IOFREE_BASE, LPC54_IOBUFFERS * CONFIG_LPC54_OHCI_IOBUFSIZE);
 #endif
 
-  /* Initialize all the TDs, EDs and HCCA to 0 */
-
-  memset((void *)HCCA,   0, sizeof(struct ohci_hcca_s));
-  memset((void *)TDTAIL, 0, sizeof(struct ohci_gtd_s));
-  memset((void *)EDCTRL, 0, sizeof(struct lpc54_ed_s));

Review Comment:
   restore



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to