Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316657
b: refs/heads/master
c: d6fa5a4
h: refs/heads/master
i:
  316655: 6476202
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Vinod Koul committed Jul 13, 2012
1 parent f7578db commit 50cd283
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: c471270d7a4161a8f1794202ad8338c0ec55759e
refs/heads/master: d6fa5a4e7ab605370fd6c982782f84ef2e6660e7
8 changes: 4 additions & 4 deletions trunk/drivers/tty/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1615,9 +1615,9 @@ static bool filter(struct dma_chan *chan, void *slave)
struct sh_dmae_slave *param = slave;

dev_dbg(chan->device->dev, "%s: slave ID %d\n", __func__,
param->slave_id);
param->shdma_slave.slave_id);

chan->private = param;
chan->private = &param->shdma_slave;
return true;
}

Expand Down Expand Up @@ -1656,7 +1656,7 @@ static void sci_request_dma(struct uart_port *port)
param = &s->param_tx;

/* Slave ID, e.g., SHDMA_SLAVE_SCIF0_TX */
param->slave_id = s->cfg->dma_slave_tx;
param->shdma_slave.slave_id = s->cfg->dma_slave_tx;

s->cookie_tx = -EINVAL;
chan = dma_request_channel(mask, filter, param);
Expand Down Expand Up @@ -1684,7 +1684,7 @@ static void sci_request_dma(struct uart_port *port)
param = &s->param_rx;

/* Slave ID, e.g., SHDMA_SLAVE_SCIF0_RX */
param->slave_id = s->cfg->dma_slave_rx;
param->shdma_slave.slave_id = s->cfg->dma_slave_rx;

chan = dma_request_channel(mask, filter, param);
dev_dbg(port->dev, "%s: RX: got channel %p\n", __func__, chan);
Expand Down

0 comments on commit 50cd283

Please sign in to comment.