Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146743
b: refs/heads/master
c: a5660ad
h: refs/heads/master
i:
  146741: 51de17a
  146739: 9063e18
  146735: 050594e
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 8, 2009
1 parent a80a1c9 commit af96650
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: dc8e6f5bfcd6a307a8196d3e41fd9798be5a1c76
refs/heads/master: a5660adae85918f2ab6b10ab58e2f574c1bd5ce1
10 changes: 5 additions & 5 deletions trunk/drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ static inline int sci_handle_breaks(struct uart_port *port)
int copied = 0;
unsigned short status = sci_in(port, SCxSR);
struct tty_struct *tty = port->info->port.tty;
struct sci_port *s = &sci_ports[port->line];
struct sci_port *s = to_sci_port(port);

if (uart_handle_break(port))
return 0;
Expand Down Expand Up @@ -875,7 +875,7 @@ static void sci_break_ctl(struct uart_port *port, int break_state)

static int sci_startup(struct uart_port *port)
{
struct sci_port *s = &sci_ports[port->line];
struct sci_port *s = to_sci_port(port);

if (s->enable)
s->enable(port);
Expand All @@ -893,7 +893,7 @@ static int sci_startup(struct uart_port *port)

static void sci_shutdown(struct uart_port *port)
{
struct sci_port *s = &sci_ports[port->line];
struct sci_port *s = to_sci_port(port);

sci_stop_rx(port);
sci_stop_tx(port);
Expand Down Expand Up @@ -990,7 +990,7 @@ static int sci_request_port(struct uart_port *port)

static void sci_config_port(struct uart_port *port, int flags)
{
struct sci_port *s = &sci_ports[port->line];
struct sci_port *s = to_sci_port(port);

port->type = s->type;

Expand All @@ -1002,7 +1002,7 @@ static void sci_config_port(struct uart_port *port, int flags)

static int sci_verify_port(struct uart_port *port, struct serial_struct *ser)
{
struct sci_port *s = &sci_ports[port->line];
struct sci_port *s = to_sci_port(port);

if (ser->irq != s->irqs[SCIx_TXI_IRQ] || ser->irq > nr_irqs)
return -EINVAL;
Expand Down

0 comments on commit af96650

Please sign in to comment.