diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index 0b3549bd909d..172cf62b1aaf 100644 --- a/drivers/staging/speakup/synth.c +++ b/drivers/staging/speakup/synth.c @@ -212,6 +212,9 @@ void synth_start(void) void spk_do_flush(void) { + if (!synth) + return; + speakup_info.flushing = 1; synth_buffer_clear(); if (synth->alive) {