Donny9 commented on issue #15787: URL: https://github.com/apache/nuttx/issues/15787#issuecomment-2644449119
> I did take a look at this through the call graph and I'm unsure where this would cause an issue as well. I added some log statements to the ioctl implementation of sensor.c to see the value of ret once the lowerhalf selftest was called. The return value was what I expected. If I change the value of ret within the sensor.c ioctl implementation, the hang also stops. This is confusing me because I really don't see that value used anywhere else. @linguini1 Your meaning is that the first call to selftest can succeed, but all subsequent ioctl calls hang? Is it because the lock cannot be acquired or some other issue? Where is the task waiting? I have reviewed your driver code and it doesn't seem to have an asymmetric lock issue. -- 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