diff options
author | Florian Eckert <[email protected]> | 2023-11-27 12:03:09 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-12-13 11:28:48 +0000 |
commit | 76675f69bed5f1e8ae44ba72904ff7f97aa95c0a (patch) | |
tree | 8c6e60a7f7e3f6450593c10899b48e9495201739 /scripts/gdb/linux/lists.py | |
parent | 4ff4379ce6eefe81695bcc2e021ce1dac3d707d2 (diff) |
leds: ledtrig-tty: Replace mutex with completion
With this commit, the mutex handling is replaced by the completion
handling. When handling mutex, it must always be ensured that the held
mutex is also released again. This is more error-prone should the number
of code paths increase.
This is a preparatory commit to make the trigger more configurable via
additional sysfs parameters. With this change, the worker always runs and
is no longer stopped if no ttyname is set.
Signed-off-by: Florian Eckert <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions