summaryrefslogtreecommitdiff
path: root/drivers/accessibility/speakup/speakup_apollo.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-01-27 01:21:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-27 15:12:04 +0300
commit1941ab1d25e098e99df18b9041667e99858fd449 (patch)
tree02e685db500476946aed43b15555c18247e265d8 /drivers/accessibility/speakup/speakup_apollo.c
parent0fc99422bc034de018607ef6b70f92d4bc4a236d (diff)
downloadlinux-1941ab1d25e098e99df18b9041667e99858fd449.tar.xz
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_apollo.c')
-rw-r--r--drivers/accessibility/speakup/speakup_apollo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/accessibility/speakup/speakup_apollo.c b/drivers/accessibility/speakup/speakup_apollo.c
index 0877b4044c28..cd63581b2e99 100644
--- a/drivers/accessibility/speakup/speakup_apollo.c
+++ b/drivers/accessibility/speakup/speakup_apollo.c
@@ -163,8 +163,8 @@ static void do_catch_up(struct spk_synth *synth)
full_time_val = full_time->u.n.value;
spin_unlock_irqrestore(&speakup_info.spinlock, flags);
if (!synth->io_ops->synth_out(synth, ch)) {
- synth->io_ops->tiocmset(0, UART_MCR_RTS);
- synth->io_ops->tiocmset(UART_MCR_RTS, 0);
+ synth->io_ops->tiocmset(synth, 0, UART_MCR_RTS);
+ synth->io_ops->tiocmset(synth, UART_MCR_RTS, 0);
schedule_timeout(msecs_to_jiffies(full_time_val));
continue;
}