Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362426
b: refs/heads/master
c: 1f66396
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Pelykh authored and Greg Kroah-Hartman committed Apr 3, 2013
1 parent 47f998d commit 25ea71f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5448bd8ca139bf8f82b93e10acbc2691cd983a45
refs/heads/master: 1f66396682a0be92e1c141bff4b006d7654832e1
11 changes: 11 additions & 0 deletions trunk/drivers/tty/serial/omap-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,17 @@ serial_omap_set_termios(struct uart_port *port, struct ktermios *termios,
serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR);
/* FIFO ENABLE, DMA MODE */

up->scr |= OMAP_UART_SCR_RX_TRIG_GRANU1_MASK;
/*
* NOTE: Setting OMAP_UART_SCR_RX_TRIG_GRANU1_MASK
* sets Enables the granularity of 1 for TRIGGER RX
* level. Along with setting RX FIFO trigger level
* to 1 (as noted below, 16 characters) and TLR[3:0]
* to zero this will result RX FIFO threshold level
* to 1 character, instead of 16 as noted in comment
* below.
*/

/* Set receive FIFO threshold to 16 characters and
* transmit FIFO threshold to 16 spaces
*/
Expand Down

0 comments on commit 25ea71f

Please sign in to comment.