Commit d1598d4e authored by Samuel Thibault's avatar Samuel Thibault Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7ca399f1
...@@ -80,7 +80,7 @@ void synth_buffer_add(u16 ch) ...@@ -80,7 +80,7 @@ void synth_buffer_add(u16 ch)
/* We have written something to the speech synthesis, so we are not /* We have written something to the speech synthesis, so we are not
* paused any more. * paused any more.
*/ */
spk_paused = 0; spk_paused = false;
} }
u16 synth_buffer_getc(void) u16 synth_buffer_getc(void)
......
...@@ -1786,7 +1786,7 @@ static void speakup_con_update(struct vc_data *vc) ...@@ -1786,7 +1786,7 @@ static void speakup_con_update(struct vc_data *vc)
speakup_date(vc); speakup_date(vc);
if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) { if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) {
synth_printf("%s", spk_str_pause); synth_printf("%s", spk_str_pause);
spk_paused = 1; spk_paused = true;
} }
spin_unlock_irqrestore(&speakup_info.spinlock, flags); spin_unlock_irqrestore(&speakup_info.spinlock, flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment