Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36627
b: refs/heads/master
c: b5beef5
h: refs/heads/master
i:
  36625: 6aa95ff
  36623: edcfa2b
v: v3
  • Loading branch information
Imre Deak authored and Tony Lindgren committed Sep 25, 2006
1 parent c2ca0d6 commit a629578
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 5a4e86daa29e73a02ce8eb484837813e341a0b8a
refs/heads/master: b5beef5d5dddef820eb36c97216487ed7cf68971
8 changes: 8 additions & 0 deletions trunk/arch/arm/plat-omap/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,14 @@ static int __init omap_init_dma(void)
dma_chan_count = 16;
} else
dma_chan_count = 9;
if (cpu_is_omap16xx()) {
u16 w;

/* this would prevent OMAP sleep */
w = omap_readw(OMAP1610_DMA_LCD_CTRL);
w &= ~(1 << 8);
omap_writew(w, OMAP1610_DMA_LCD_CTRL);
}
} else if (cpu_is_omap24xx()) {
u8 revision = omap_readb(OMAP_DMA4_REVISION);
printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n",
Expand Down

0 comments on commit a629578

Please sign in to comment.