Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354798
b: refs/heads/master
c: a3b0397
h: refs/heads/master
v: v3
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent 2e84239 commit 9420eb8
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: 6f3fe3b1027bf50c0a0859e5c9ee93b174b95543
refs/heads/master: a3b0397fdf19b3c23f37012532482c787e01d4a0
6 changes: 3 additions & 3 deletions trunk/drivers/tty/serial/8250/8250_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ int serial8250_tx_dma(struct uart_8250_port *p)
struct circ_buf *xmit = &p->port.state->xmit;
struct dma_async_tx_descriptor *desc;

if (dma->tx_running) {
uart_write_wakeup(&p->port);
if (dma->tx_running)
return -EBUSY;
}

dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
if (!dma->tx_size)
return -EINVAL;

desc = dmaengine_prep_slave_single(dma->txchan,
dma->tx_addr + xmit->tail,
Expand Down

0 comments on commit 9420eb8

Please sign in to comment.