xiaoxiang781216 commented on code in PR #20591:
URL: https://github.com/apache/nuttx/pull/20591#discussion_r4244533446


##########
drivers/serial/uart_pl011.c:
##########
@@ -743,17 +743,24 @@ static void pl011_txint(FAR struct uart_dev_s *dev, bool 
enable)
   FAR struct pl011_uart_port_s *sport = dev->priv;
   irqstate_t flags;
 
-  flags = spin_lock_irqsave(&sport->lock);

Review Comment:
   but why irqsave can't block the hardware interrupt?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to