diff options
| author | Aleksa Savic <[email protected]> | 2024-05-04 09:25:02 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2024-05-04 13:36:41 +0000 |
| commit | 3a034a7b0715eb51124a5263890b1ed39978ed3a (patch) | |
| tree | 80950b6bea0caf41e2ac0d63659947994febfc7a /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
| parent | hwmon: (corsair-cpro) Use a separate buffer for sending commands (diff) | |
| download | kernel-3a034a7b0715eb51124a5263890b1ed39978ed3a.tar.gz kernel-3a034a7b0715eb51124a5263890b1ed39978ed3a.zip | |
hwmon: (corsair-cpro) Use complete_all() instead of complete() in ccp_raw_event()
In ccp_raw_event(), the ccp->wait_input_report completion is
completed once. Since we're waiting for exactly one report in
send_usb_cmd(), use complete_all() instead of complete()
to mark the completion as spent.
Fixes: 40c3a4454225 ("hwmon: add Corsair Commander Pro driver")
Signed-off-by: Aleksa Savic <[email protected]>
Acked-by: Marius Zachmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
