Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

speakup: Allow lower values for the flush parameter

Users needing it with the dectlk synth report that a 100ms flush delay
is still noticeable and prefer to set it to e.g. 10ms. This leaves the
default to 4000ms (since hitting it is a sign that the cable is faulty
and should be replaced), but allows to set it as short as 10ms.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20220205232957.bc6o6yyt5hitg754@begin
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Samuel Thibault and committed by
Greg Kroah-Hartman
9583e4ee 9940a756

+1 -1
+1 -1
drivers/accessibility/speakup/synth.c
··· 348 348 { TRIGGER, .u.n = {NULL, 20, 10, 2000, 0, 0, NULL } }, 349 349 { JIFFY, .u.n = {NULL, 50, 20, 200, 0, 0, NULL } }, 350 350 { FULL, .u.n = {NULL, 400, 200, 60000, 0, 0, NULL } }, 351 - { FLUSH, .u.n = {NULL, 4000, 100, 4000, 0, 0, NULL } }, 351 + { FLUSH, .u.n = {NULL, 4000, 10, 4000, 0, 0, NULL } }, 352 352 V_LAST_VAR 353 353 }; 354 354