diff options
Diffstat (limited to 'arch/mips/au1000/common/dbdma.c')
-rw-r--r-- | arch/mips/au1000/common/dbdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c index d00e8247d6c2..6ee090bd86c9 100644 --- a/arch/mips/au1000/common/dbdma.c +++ b/arch/mips/au1000/common/dbdma.c | |||
@@ -214,7 +214,7 @@ au1xxx_ddma_add_device(dbdev_tab_t *dev) | |||
214 | if ( NULL != p ) | 214 | if ( NULL != p ) |
215 | { | 215 | { |
216 | memcpy(p, dev, sizeof(dbdev_tab_t)); | 216 | memcpy(p, dev, sizeof(dbdev_tab_t)); |
217 | p->dev_id = DSCR_DEV2CUSTOM_ID(new_id,dev->dev_id); | 217 | p->dev_id = DSCR_DEV2CUSTOM_ID(new_id,dev->dev_id); |
218 | ret = p->dev_id; | 218 | ret = p->dev_id; |
219 | new_id++; | 219 | new_id++; |
220 | #if 0 | 220 | #if 0 |
@@ -260,7 +260,7 @@ au1xxx_dbdma_chan_alloc(u32 srcid, u32 destid, | |||
260 | spin_lock_irqsave(&au1xxx_dbdma_spin_lock, flags); | 260 | spin_lock_irqsave(&au1xxx_dbdma_spin_lock, flags); |
261 | if (!(stp->dev_flags & DEV_FLAGS_INUSE) || | 261 | if (!(stp->dev_flags & DEV_FLAGS_INUSE) || |
262 | (stp->dev_flags & DEV_FLAGS_ANYUSE)) { | 262 | (stp->dev_flags & DEV_FLAGS_ANYUSE)) { |
263 | /* Got source */ | 263 | /* Got source */ |
264 | stp->dev_flags |= DEV_FLAGS_INUSE; | 264 | stp->dev_flags |= DEV_FLAGS_INUSE; |
265 | if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || | 265 | if (!(dtp->dev_flags & DEV_FLAGS_INUSE) || |
266 | (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { | 266 | (dtp->dev_flags & DEV_FLAGS_ANYUSE)) { |