Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235508
b: refs/heads/master
c: 7884146
h: refs/heads/master
v: v3
  • Loading branch information
Jarkko Nikula authored and Greg Kroah-Hartman committed Feb 3, 2011
1 parent 9f5662c commit e2ce5e3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 364a6ece62455f669336e50d5b00f14ba650da93
refs/heads/master: 78841462d72fe7038cb7ea48adecc6fc395f2dc5
6 changes: 3 additions & 3 deletions trunk/drivers/tty/serial/omap-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,9 @@ static int serial_omap_startup(struct uart_port *port)
up->ier = UART_IER_RLSI | UART_IER_RDI;
serial_out(up, UART_IER, up->ier);

/* Enable module level wake up */
serial_out(up, UART_OMAP_WER, OMAP_UART_WER_MOD_WKUP);

up->port_activity = jiffies;
return 0;
}
Expand Down Expand Up @@ -827,9 +830,6 @@ serial_omap_pm(struct uart_port *port, unsigned int state,
serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B);
serial_out(up, UART_EFR, efr);
serial_out(up, UART_LCR, 0);
/* Enable module level wake up */
serial_out(up, UART_OMAP_WER,
(state != 0) ? OMAP_UART_WER_MOD_WKUP : 0);
}

static void serial_omap_release_port(struct uart_port *port)
Expand Down

0 comments on commit e2ce5e3

Please sign in to comment.