DMA: dma-pl330.c add new argument 'id' to pl330_request_channel() where it is invoked

This commit is contained in:
hhb
2012-07-03 10:12:12 +08:00
parent e81b40dae0
commit a93d6edd37

View File

@@ -749,7 +749,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;