On Wed, Sep 15, 2021 at 11:50:56AM +0800, Seven Lee wrote:
On 2021/8/25 上午 01:32, Mark Brown wrote:
I've been asking for documentation of what's going on with the locking on every revision of this so far to no success. As far as I can tell the driver is doing something weird where it needs to take and release the lock in different contexts which doesn't work with the kernel's mutex implementation where you need to take and release the mutex in the same context.
Currently, we have deleted the semaphore and actual measurement. We plan to remove the semaphore after estimation and discussion. We estimate that the operation time of jack detection is less 100ms so that the risk is much smaller.
OK, that sounds good - we can always revisit later if needed.