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


##########
arch/arm/src/sama5/sam_dmac.c:
##########
@@ -1471,7 +1459,7 @@ static void sam_freelinklist(struct sam_dmach_s *dmach)
        */
 
       memset(desc, 0, sizeof(struct dma_linklist_s));
-      sam_givedsem(dmac);
+      nxsem_post(&dmac->dsem);

Review Comment:
   move to next patch



##########
arch/arm/src/sama5/sam_ehci.c:
##########
@@ -5020,7 +5020,6 @@ struct usbhost_connection_s *sam_ehci_initialize(int 
controller)
    *  first port is reset (and enabled)."
    */
 
-  memset(&g_asynchead, 0, sizeof(struct sam_qh_s));

Review Comment:
   move to next patch



##########
arch/arm/src/sama5/sam_ehci.c:
##########
@@ -5044,7 +5043,6 @@ struct usbhost_connection_s *sam_ehci_initialize(int 
controller)
    * Head (g_intrhead).
    */
 
-  memset(&g_intrhead, 0, sizeof(struct sam_qh_s));

Review Comment:
   move to next patch



-- 
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