Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102218
b: refs/heads/master
c: c43d863
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Pierre Ossman committed Jul 15, 2008
1 parent 88a63fb commit 9a7eaa5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 6a36913a33cf3d366e124f25c486a71212d02bce
refs/heads/master: c43d8636971c39da993e94082fd65bfff421618e
9 changes: 6 additions & 3 deletions trunk/drivers/mmc/card/sdio_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,12 +885,14 @@ static void sdio_uart_set_termios(struct tty_struct *tty, struct ktermios *old_t
sdio_uart_release_func(port);
}

static void sdio_uart_break_ctl(struct tty_struct *tty, int break_state)
static int sdio_uart_break_ctl(struct tty_struct *tty, int break_state)
{
struct sdio_uart_port *port = tty->driver_data;
int result;

if (sdio_uart_claim_func(port) != 0)
return;
result = sdio_uart_claim_func(port);
if (result != 0)
return result;

if (break_state == -1)
port->lcr |= UART_LCR_SBC;
Expand All @@ -899,6 +901,7 @@ static void sdio_uart_break_ctl(struct tty_struct *tty, int break_state)
sdio_out(port, UART_LCR, port->lcr);

sdio_uart_release_func(port);
return 0;
}

static int sdio_uart_tiocmget(struct tty_struct *tty, struct file *file)
Expand Down

0 comments on commit 9a7eaa5

Please sign in to comment.