]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5d6cdf1990368515228bd16794e1f2ffba60f0f
tree2cbaf048f9e3de082e53c372f468e44037b74434
parentc398673ec96bbab3849ff6844a2c7db186b9f577
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