diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-23 22:50:30 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-05 22:56:45 -0700 |
commit | f388412f707e98735e44341447263ab3e25e7043 (patch) | |
tree | a0a1cb29c7b48d8db4e97d9906ad26878f3102ad /scripts/gdb/linux/utils.py | |
parent | 624455941015c199ac317c8cf976ac6b02cfdec1 (diff) |
Input: zforce_ts - remove unneeded locking
There is no need to have a lock around calls to i2c_master_send() and
i2c_master_recv() as they are not issued concurrently and they are not
sharing any buffers. Also there is no need for command_mutex as all
commands are issued sequentially.
Remove both.
Tested-by: Andreas Kemnade <andreas@kemnade.info> # Tolino Shine2HD
Link: https://lore.kernel.org/r/20240824055047.1706392-7-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions