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


##########
drivers/bch/bchdev_driver.c:
##########
@@ -122,6 +123,11 @@ static int bch_open(FAR struct file *filep)
   FAR struct bchlib_s *bch;
   int ret = OK;
 
+  if (!nxsched_capable(PR_CAP_RAWIO))

Review Comment:
   but bch_register is only called inside file_open?



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