aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_audptr.c
diff options
context:
space:
mode:
authorDomagoj Trsan <domagoj.trsan@gmail.com>2014-09-09 20:04:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-11 14:54:51 -0700
commit8e69a8110686572a4b88d006faa8c3c759c4c261 (patch)
tree38b28da55772c820099717b615509a77f0f0a158 /drivers/staging/speakup/speakup_audptr.c
parentstaging: speakup: fix line indentations (diff)
downloadlinux-dev-8e69a8110686572a4b88d006faa8c3c759c4c261.tar.xz
linux-dev-8e69a8110686572a4b88d006faa8c3c759c4c261.zip
staging: speakup: fix missing blank lines after declarations
Signed-off-by: Domagoj Trsan <domagoj.trsan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup_audptr.c')
-rw-r--r--drivers/staging/speakup/speakup_audptr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/speakup/speakup_audptr.c b/drivers/staging/speakup/speakup_audptr.c
index 362f9747e48d..5cbaec8335fe 100644
--- a/drivers/staging/speakup/speakup_audptr.c
+++ b/drivers/staging/speakup/speakup_audptr.c
@@ -132,6 +132,7 @@ static struct spk_synth synth_audptr = {
static void synth_flush(struct spk_synth *synth)
{
int timeout = SPK_XMITR_TIMEOUT;
+
while (spk_serial_tx_busy()) {
if (!--timeout)
break;
@@ -145,6 +146,7 @@ static void synth_version(struct spk_synth *synth)
{
unsigned char test = 0;
char synth_id[40] = "";
+
spk_synth_immediate(synth, "\x05[Q]");
synth_id[test] = spk_serial_in();
if (synth_id[test] == 'A') {