xiaoxiang781216 commented on a change in pull request #5070: URL: https://github.com/apache/incubator-nuttx/pull/5070#discussion_r774857229
########## File path: drivers/input/tsc2007.c ########## @@ -1228,6 +1228,7 @@ int tsc2007_register(FAR struct i2c_master_s *dev, priv->config = config; /* Save the board configuration */ nxsem_init(&priv->devsem, 0, 1); /* Initialize device structure semaphore */ + nxsem_set_protocol(&priv->devsem, SEM_PRIO_INHERIT); Review comment: let remove nxsem_set_protocol(&priv->waitsem, SEM_PRIO_NONE) at line 1238 -- 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