aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_spkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/speakup/speakup_spkout.c')
-rw-r--r--drivers/staging/speakup/speakup_spkout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/speakup/speakup_spkout.c b/drivers/staging/speakup/speakup_spkout.c
index 77f2dc2c3d97..bccddf8b89fd 100644
--- a/drivers/staging/speakup/speakup_spkout.c
+++ b/drivers/staging/speakup/speakup_spkout.c
@@ -131,6 +131,7 @@ static struct spk_synth synth_spkout = {
static void synth_flush(struct spk_synth *synth)
{
int timeout = SPK_XMITR_TIMEOUT;
+
while (spk_serial_tx_busy()) {
if (!--timeout)
break;