Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185194
b: refs/heads/master
c: 7ed43f6
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent 4e9dc30 commit f24d866
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b2ced4f69ea87399a37b4485280c52034a0161a8
refs/heads/master: 7ed43f6af88b042eb2ac5a3eda1e8e17efae74ee
2 changes: 2 additions & 0 deletions trunk/drivers/serial/bfin_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ void bfin_serial_rx_dma_timeout(struct bfin_serial_port *uart)
{
int x_pos, pos;

dma_disable_irq(uart->tx_dma_channel);
dma_disable_irq(uart->rx_dma_channel);
spin_lock_bh(&uart->port.lock);

Expand Down Expand Up @@ -521,6 +522,7 @@ void bfin_serial_rx_dma_timeout(struct bfin_serial_port *uart)
}

spin_unlock_bh(&uart->port.lock);
dma_enable_irq(uart->tx_dma_channel);
dma_enable_irq(uart->rx_dma_channel);

mod_timer(&(uart->rx_dma_timer), jiffies + DMA_RX_FLUSH_JIFFIES);
Expand Down

0 comments on commit f24d866

Please sign in to comment.