diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-01-28 19:01:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-04 17:05:48 +0100 |
commit | 1f7c14afd4ad5aae5220dfc878f29770239911b1 (patch) | |
tree | 2cbaf048f9e3de082e53c372f468e44037b74434 /drivers/accessibility/speakup/varhandlers.c | |
parent | speakup ABI: Advertise synth parameters for all synths (diff) | |
download | linux-1f7c14afd4ad5aae5220dfc878f29770239911b1.tar.xz linux-1f7c14afd4ad5aae5220dfc878f29770239911b1.zip |
speakup: Make dectlk flush timeout configurable
In case the serial port or cable got faulty, we may not be getting
acknowledgements any more. The driver then currently waits for 4s to
avoid jamming the device. This makes this delay configurable.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20210128180116.1848120-3-samuel.thibault@ens-lyon.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility/speakup/varhandlers.c')
-rw-r--r-- | drivers/accessibility/speakup/varhandlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/accessibility/speakup/varhandlers.c b/drivers/accessibility/speakup/varhandlers.c index d7f6bec7ff06..067c0da97dcb 100644 --- a/drivers/accessibility/speakup/varhandlers.c +++ b/drivers/accessibility/speakup/varhandlers.c @@ -23,6 +23,7 @@ static struct st_var_header var_headers[] = { { "trigger_time", TRIGGER, VAR_TIME, NULL, NULL }, { "jiffy_delta", JIFFY, VAR_TIME, NULL, NULL }, { "full_time", FULL, VAR_TIME, NULL, NULL }, + { "flush_time", FLUSH, VAR_TIME, NULL, NULL }, { "spell_delay", SPELL_DELAY, VAR_NUM, &spk_spell_delay, NULL }, { "bleeps", BLEEPS, VAR_NUM, &spk_bleeps, NULL }, { "attrib_bleep", ATTRIB_BLEEP, VAR_NUM, &spk_attrib_bleep, NULL }, |