davids5 opened a new pull request, #11325:
URL: https://github.com/apache/nuttx/pull/11325

   ## Summary
   
   Fixes stuttering output.
   
   The use of the semaphore was causing blocking
   on non blocking callers. This ensured that
   the TX DAM would be restated, but when it
   was switched to trywait in 
https://github.com/apache/nuttx/commit/8362e3147e8000ea70f622fd02fbcafbcfef1a2b,
 it left
   data in the xmit queue unsent.
   
   This solution removes the semaphore and restart
   the DMA on completion if there is more data in
   the xmit queue to be sent.
   
   This prevents dma stop operations called of a completion
      call back from rentering, the callback and ensures that
      the call back will see the idle state.
   ## Impact
   
   Fixes issue with TXDMA  stuttering output.
   
   ## Testing
   
   nxp_mr-canhubk3_fmu
   


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