DMA: rk29-pl330.c add new argument 'id' to pl330_request_channel() where it is invoked
authorhhb <hhb@rock-chips.com>
Tue, 3 Jul 2012 02:21:05 +0000 (10:21 +0800)
committerhhb <hhb@rock-chips.com>
Tue, 3 Jul 2012 02:21:36 +0000 (10:21 +0800)
arch/arm/mach-rk29/rk29-pl330.c

index 09cfe0fa8a1248148f85ffcf95eba789bab09c27..ae8ce89d76d5da4e6586d9516a94f879c128c792 100755 (executable)
@@ -748,7 +748,7 @@ int rk29_dma_request(enum dma_ch id,
 
        dmac = ch->dmac;
 
-       ch->pl330_chan_id = pl330_request_channel(dmac->pi);
+       ch->pl330_chan_id = pl330_request_channel(id, dmac->pi);
        if (!ch->pl330_chan_id) {
                chan_release(ch);
                ret = -EBUSY;