Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321121
b: refs/heads/master
c: 7c836bc
h: refs/heads/master
i:
  321119: a27e2c5
v: v3
  • Loading branch information
Russell King committed Jul 31, 2012
1 parent 086fa05 commit 9860f21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 3850e22f5146d2ff5b66f1b7460d4720d5f1b6c7
refs/heads/master: 7c836bc7f9f71d62a8dc50712db122a69b405486
5 changes: 3 additions & 2 deletions trunk/drivers/dma/omap-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ struct omap_desc {
enum dma_transfer_direction dir;
dma_addr_t dev_addr;

int16_t fi; /* for OMAP_DMA_SYNC_PACKET */
uint8_t es; /* OMAP_DMA_DATA_TYPE_xxx */
uint8_t sync_mode; /* OMAP_DMA_SYNC_xxx */
uint8_t sync_type; /* OMAP_DMA_xxx_SYNC* */
Expand Down Expand Up @@ -120,10 +121,10 @@ static void omap_dma_start_desc(struct omap_chan *c)

if (d->dir == DMA_DEV_TO_MEM)
omap_set_dma_src_params(c->dma_ch, d->periph_port,
OMAP_DMA_AMODE_CONSTANT, d->dev_addr, 0, 0);
OMAP_DMA_AMODE_CONSTANT, d->dev_addr, 0, d->fi);
else
omap_set_dma_dest_params(c->dma_ch, d->periph_port,
OMAP_DMA_AMODE_CONSTANT, d->dev_addr, 0, 0);
OMAP_DMA_AMODE_CONSTANT, d->dev_addr, 0, d->fi);

omap_dma_start_sg(c, d, 0);
}
Expand Down

0 comments on commit 9860f21

Please sign in to comment.