Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339702
b: refs/heads/master
c: 8280960
h: refs/heads/master
v: v3
  • Loading branch information
Tony Lindgren committed Oct 31, 2012
1 parent af911af commit 152ea79
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 67 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: 32dee01e67e0d14e86708c4ca6c5a9f4f81d5144
refs/heads/master: 8280960181eae6e4039957044577b6ef7154220f
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap1/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ static int __init omap1_system_dma_init(void)
d->dev_caps = ENABLE_1510_MODE;
enable_1510_mode = d->dev_caps & ENABLE_1510_MODE;

if (cpu_is_omap16xx())
d->dev_caps = ENABLE_16XX_MODE;

d->dev_caps |= SRC_PORT;
d->dev_caps |= DST_PORT;
d->dev_caps |= SRC_INDEX;
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap2/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ static int __init omap2_system_dma_init_dev(struct omap_hwmod *oh, void *unused)
return -ENOMEM;
}

if (cpu_is_omap34xx() && (omap_type() != OMAP2_DEVICE_TYPE_GP))
d->dev_caps |= HS_CHANNELS_RESERVED;

/* Check the capabilities register for descriptor loading feature */
if (dma_read(CAPS_0, 0) & DMA_HAS_DESCRIPTOR_CAPS)
dma_common_ch_end = CCDN;
Expand Down
Loading

0 comments on commit 152ea79

Please sign in to comment.