summaryrefslogtreecommitdiff
path: root/tools/docs/check-variable-fonts.py
diff options
context:
space:
mode:
authorWilly Huang <willyhuang@google.com>2025-10-30 14:37:04 +0800
committerJiri Kosina <jkosina@suse.com>2025-10-31 10:11:58 +0100
commit2295657ac30a5d40564f76dcb107730feacceef1 (patch)
tree28d62078c822b1d9a2e350622793e9a1b02091b8 /tools/docs/check-variable-fonts.py
parent2953fb65481b262514ac13f24ffbc70eeace68c6 (diff)
HID: nintendo: Reduce JC_SUBCMD_RATE_MAX_ATTEMPTS
The JC_SUBCMD_RATE_MAX_ATTEMPTS constant is currently set to 500. In a worst-case scenario where all attempts consistently fail, this could cause the loop to block for up to 60000 ms (500 * 60ms * 2, including the additional retry after a timeout). This change lowers the maximum potential blocking time to 3000 ms (25 * 60ms * 2), improving system responsiveness and efficiency. Signed-off-by: Willy Huang <willyhuang@google.com> Reviewed-by: Daniel J. Ogorchock <djogorchock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions