Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308146
b: refs/heads/master
c: d07c3df
h: refs/heads/master
v: v3
  • Loading branch information
Santosh Shilimkar committed May 8, 2012
1 parent 15afcdd commit a501eba
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 084753d18e6d2d95db21cc89514f225c8a7635b3
refs/heads/master: d07c3df8019bf01306065c4271421d70ad23e5e8
4 changes: 2 additions & 2 deletions trunk/arch/arm/plat-omap/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ omap_dma_set_prio_lch(int lch, unsigned char read_prio,
}
l = p->dma_read(CCR, lch);
l &= ~((1 << 6) | (1 << 26));
if (cpu_is_omap2430() || cpu_is_omap34xx() || cpu_is_omap44xx())
if (cpu_class_is_omap2() && !cpu_is_omap242x())
l |= ((read_prio & 0x1) << 6) | ((write_prio & 0x1) << 26);
else
l |= ((read_prio & 0x1) << 6);
Expand Down Expand Up @@ -2057,7 +2057,7 @@ static int __devinit omap_system_dma_probe(struct platform_device *pdev)
}
}

if (cpu_is_omap2430() || cpu_is_omap34xx() || cpu_is_omap44xx())
if (cpu_class_is_omap2() && !cpu_is_omap242x())
omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE,
DMA_DEFAULT_FIFO_DEPTH, 0);

Expand Down

0 comments on commit a501eba

Please sign in to comment.