diff options
author | Daniel J. Ogorchock <[email protected]> | 2023-02-03 16:51:17 -0500 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-03-10 15:02:15 +0100 |
commit | bcba9f32c13a29edf7e996371eebe7eb5ff9f854 (patch) | |
tree | 015ab308b47d627e474e07d14e39d3cff3f1d25a /tools/testing/selftests/bpf/progs/test_access_variable_array.c | |
parent | 2653e3fe33f411227296552b2e5f9c2640924900 (diff) |
HID: nintendo: prevent rumble queue overruns
Make sure that we never throw out the most recent rumble setting,
opting to overwrite the prior queue head instead. This prevents
instances where we could get rumble stuck on if there were an overrun at
the wrong time.
Signed-off-by: Daniel J. Ogorchock <[email protected]>
Reviewed-by: Silvan Jegen <[email protected]
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_access_variable_array.c')
0 files changed, 0 insertions, 0 deletions