diff options
author | Bartosz Golaszewski <[email protected]> | 2024-01-02 16:59:48 +0100 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-01-04 10:29:16 +0100 |
commit | 1979a28075470ef82472a5656ecc969f901e0d3b (patch) | |
tree | 12b01c23e316fe05b646bad05b66d5e03127789a /tools/perf/scripts/python/libxed.py | |
parent | 48e1b4d369cfe2729138a128afa6b8a55d093eaf (diff) |
gpiolib: replace the GPIO device mutex with a read-write semaphore
There are only two spots where we modify (add to or remove objects from)
the GPIO device list. Readers should be able to access it concurrently.
Replace the mutex with a read-write semaphore and adjust the locking
operations accordingly.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions