diff options
author | Tony Lindgren <tony@atomide.com> | 2012-05-08 13:17:23 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-05-08 13:17:23 -0400 |
commit | cf563a35888ee92361c324dfc57b328c84653c5b (patch) | |
tree | 740aced93739c7fa0e8663511c7f3ce41b1b2650 /arch/arm/plat-omap/dma.c | |
parent | d48b97b403d23f6df0b990cee652bdf9a52337a3 (diff) | |
parent | f6d5e079a03a33b4cb747285e61098d3d85010ce (diff) |
Merge branch 'for_3.5/omap_misc_cleanup' of git://gitorious.org/omap-sw-develoment/linux-omap-dev into cleanup-soc
Diffstat (limited to 'arch/arm/plat-omap/dma.c')
-rw-r--r-- | arch/arm/plat-omap/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index c58d896cd5c3..807ce4c45ef3 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -843,7 +843,7 @@ omap_dma_set_prio_lch(int lch, unsigned char read_prio, | |||
843 | } | 843 | } |
844 | l = p->dma_read(CCR, lch); | 844 | l = p->dma_read(CCR, lch); |
845 | l &= ~((1 << 6) | (1 << 26)); | 845 | l &= ~((1 << 6) | (1 << 26)); |
846 | if (cpu_is_omap2430() || cpu_is_omap34xx() || cpu_is_omap44xx()) | 846 | if (cpu_class_is_omap2() && !cpu_is_omap242x()) |
847 | l |= ((read_prio & 0x1) << 6) | ((write_prio & 0x1) << 26); | 847 | l |= ((read_prio & 0x1) << 6) | ((write_prio & 0x1) << 26); |
848 | else | 848 | else |
849 | l |= ((read_prio & 0x1) << 6); | 849 | l |= ((read_prio & 0x1) << 6); |
@@ -2071,7 +2071,7 @@ static int __devinit omap_system_dma_probe(struct platform_device *pdev) | |||
2071 | } | 2071 | } |
2072 | } | 2072 | } |
2073 | 2073 | ||
2074 | if (cpu_is_omap2430() || cpu_is_omap34xx() || cpu_is_omap44xx()) | 2074 | if (cpu_class_is_omap2() && !cpu_is_omap242x()) |
2075 | omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE, | 2075 | omap_dma_set_global_params(DMA_DEFAULT_ARB_RATE, |
2076 | DMA_DEFAULT_FIFO_DEPTH, 0); | 2076 | DMA_DEFAULT_FIFO_DEPTH, 0); |
2077 | 2077 | ||