speakup: Make dectlk flush timeout configurable
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 28 Jan 2021 18:01:16 +0000 (19:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Feb 2021 16:05:48 +0000 (17:05 +0100)
commit1f7c14afd4ad5aae5220dfc878f29770239911b1
tree2cbaf048f9e3de082e53c372f468e44037b74434
parent49f259eff82e688d83a9dd3be392fcfcc4f7cde5
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>
Documentation/ABI/stable/sysfs-driver-speakup
drivers/accessibility/speakup/speakup_dectlk.c
drivers/accessibility/speakup/spk_types.h
drivers/accessibility/speakup/synth.c
drivers/accessibility/speakup/varhandlers.c