1
0
Fork 0

staging: speakup: use true/false instead of 1/0

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Samuel Thibault 2018-05-14 22:57:25 +02:00 committed by Greg Kroah-Hartman
parent 7ca399f1ef
commit d1598d4e3b
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ void synth_buffer_add(u16 ch)
/* We have written something to the speech synthesis, so we are not
* paused any more.
*/
spk_paused = 0;
spk_paused = false;
}
u16 synth_buffer_getc(void)

View File

@ -1786,7 +1786,7 @@ static void speakup_con_update(struct vc_data *vc)
speakup_date(vc);
if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) {
synth_printf("%s", spk_str_pause);
spk_paused = 1;
spk_paused = true;
}
spin_unlock_irqrestore(&speakup_info.spinlock, flags);
}