hujun260 commented on code in PR #15648:
URL: https://github.com/apache/nuttx/pull/15648#discussion_r1926215172


##########
arch/arm/src/xmc4/xmc4_i2c.c:
##########
@@ -837,8 +844,8 @@ static int i2c_transfer(struct i2c_master_s *dev,
             }
           else
             {
+              spin_unlock_irqrestore(&priv->spinlock, state);

Review Comment:
   remove spinlock because we have mutex



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