Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190281
b: refs/heads/master
c: 519e616
h: refs/heads/master
i:
  190279: 0807a08
v: v3
  • Loading branch information
manjugk manjugk authored and Tony Lindgren committed Apr 23, 2010
1 parent 9f9a416 commit 702b675
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 29501577a7f3c925d5273064752ce3dc356ccfad
refs/heads/master: 519e61666f4030426fc539d4e7102dc2bad41113
9 changes: 9 additions & 0 deletions trunk/arch/arm/plat-omap/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,15 @@ void omap_start_dma(int lch)
{
u32 l;

/*
* The CPC/CDAC register needs to be initialized to zero
* before starting dma transfer.
*/
if (cpu_is_omap15xx())
dma_write(0, CPC(lch));
else
dma_write(0, CDAC(lch));

if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) {
int next_lch, cur_lch;
char dma_chan_link_map[OMAP_DMA4_LOGICAL_DMA_CH_COUNT];
Expand Down

0 comments on commit 702b675

Please sign in to comment.