summaryrefslogtreecommitdiff
path: root/drivers/accessibility/speakup/speakup_ltlk.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-01-26 23:21:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 13:12:04 +0100
commit1941ab1d25e098e99df18b9041667e99858fd449 (patch)
tree02e685db500476946aed43b15555c18247e265d8 /drivers/accessibility/speakup/speakup_ltlk.c
parent0fc99422bc034de018607ef6b70f92d4bc4a236d (diff)
speakup: add the missing synth parameter to all io functions
So that we can avoid the spk_ttyio_synth global variable in the next commit. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Link: https://lore.kernel.org/r/20210126222147.3848175-2-samuel.thibault@ens-lyon.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/accessibility/speakup/speakup_ltlk.c')
-rw-r--r--drivers/accessibility/speakup/speakup_ltlk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accessibility/speakup/speakup_ltlk.c b/drivers/accessibility/speakup/speakup_ltlk.c
index 3c59519a871f..3e59b387d0c4 100644
--- a/drivers/accessibility/speakup/speakup_ltlk.c
+++ b/drivers/accessibility/speakup/speakup_ltlk.c
@@ -132,7 +132,7 @@ static void synth_interrogate(struct spk_synth *synth)
synth->synth_immediate(synth, "\x18\x01?");
for (i = 0; i < 50; i++) {
- buf[i] = synth->io_ops->synth_in();
+ buf[i] = synth->io_ops->synth_in(synth);
if (i > 2 && buf[i] == 0x7f)
break;
}