speakup: Fix wait_for_xmitr for ttyio case
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 4 Aug 2020 16:06:37 +0000 (18:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 11:15:32 +0000 (13:15 +0200)
commit2b86d9b8ec6efb86fc5ea44f2d49b1df17f699a1
treeac2e698183d88dc579131f75bccf1c9471c8bc3b
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
speakup: Fix wait_for_xmitr for ttyio case

This was missed while introducing the tty-based serial access.

The only remaining use of wait_for_xmitr with tty-based access is in
spk_synth_is_alive_restart to check whether the synth can be restarted.
With tty-based this is up to the tty layer to cope with the buffering
etc. so we can just say yes.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20200804160637.x3iycau5izywbgzl@function
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/serialio.c
drivers/accessibility/speakup/spk_priv.h
drivers/accessibility/speakup/spk_ttyio.c
drivers/accessibility/speakup/spk_types.h
drivers/accessibility/speakup/synth.c