These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / staging / speakup / buffers.c
index d45c8af..8565c23 100644 (file)
@@ -63,7 +63,8 @@ void synth_buffer_add(char ch)
 {
        if (!synth->alive) {
                /* This makes sure that we won't stop TTYs if there is no synth
-                * to restart them */
+                * to restart them
+                */
                return;
        }
        if (synth_buffer_free() <= 100) {
@@ -100,6 +101,7 @@ EXPORT_SYMBOL_GPL(synth_buffer_peek);
 
 void synth_buffer_clear(void)
 {
-       buff_in = buff_out = synth_buffer;
+       buff_in = synth_buffer;
+       buff_out = synth_buffer;
 }
 EXPORT_SYMBOL_GPL(synth_buffer_clear);