Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220169
b: refs/heads/master
c: 5b19208
h: refs/heads/master
i:
  220167: 832fdbb
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 8, 2010
1 parent 7421245 commit 3d3e4f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e3fd22cd538365bfeb82997d5b89562e077d42
refs/heads/master: 5b19208a5e236b26357162d6a28ff9e8d4296725
9 changes: 4 additions & 5 deletions trunk/drivers/staging/speakup/buffers.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ void speakup_start_ttys(void)
for (i = 0; i < MAX_NR_CONSOLES; i++) {
if (speakup_console[i] && speakup_console[i]->tty_stopped)
continue;
if ((vc_cons[i].d != NULL) && (vc_cons[i].d->vc_tty != NULL))
start_tty(vc_cons[i].d->vc_tty);
if ((vc_cons[i].d != NULL) && (vc_cons[i].d->port.tty != NULL))
start_tty(vc_cons[i].d->port.tty);
}
}
EXPORT_SYMBOL_GPL(speakup_start_ttys);
Expand All @@ -39,9 +39,8 @@ static void speakup_stop_ttys(void)
int i;

for (i = 0; i < MAX_NR_CONSOLES; i++)
if ((vc_cons[i].d != NULL) && (vc_cons[i].d->vc_tty != NULL))
stop_tty(vc_cons[i].d->vc_tty);
return;
if ((vc_cons[i].d != NULL) && (vc_cons[i].d->port.tty != NULL))
stop_tty(vc_cons[i].d->port.tty);
}

static int synth_buffer_free(void)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/speakup/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,7 @@ speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym,
return 0;

spk_lock(flags);
tty = vc->vc_tty;
tty = vc->port.tty;
if (type >= 0xf0)
type -= 0xf0;
if (type == KT_PAD &&
Expand Down

0 comments on commit 3d3e4f2

Please sign in to comment.