Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172747
b: refs/heads/master
c: bf07c9f
h: refs/heads/master
i:
  172745: 63f99d7
  172743: 36923a2
v: v3
  • Loading branch information
Aaro Koskinen authored and Kevin Hilman committed Nov 11, 2009
1 parent bb9f7fc commit 4105daa
Show file tree
Hide file tree
Showing 2 changed files with 7 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: cb0cb2b815bf073dc0211ab224682a6caf6c89ce
refs/heads/master: bf07c9f2d869077cc918b4cda861eadac6df6283
6 changes: 6 additions & 0 deletions trunk/arch/arm/plat-omap/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -2358,6 +2358,8 @@ void omap_dma_global_context_save(void)

void omap_dma_global_context_restore(void)
{
int ch;

dma_write(omap_dma_global_context.dma_gcr, GCR);
dma_write(omap_dma_global_context.dma_ocp_sysconfig,
OCP_SYSCONFIG);
Expand All @@ -2372,6 +2374,10 @@ void omap_dma_global_context_restore(void)
*/
if (cpu_is_omap34xx() && (omap_type() != OMAP2_DEVICE_TYPE_GP))
dma_write(0x3 , IRQSTATUS_L0);

for (ch = 0; ch < dma_chan_count; ch++)
if (dma_chan[ch].dev_id != -1)
omap_clear_dma(ch);
}

/*----------------------------------------------------------------------------*/
Expand Down

0 comments on commit 4105daa

Please sign in to comment.