Commit f08a2aaa authored by Eric Nelson's avatar Eric Nelson Committed by Kevin Hilman

ARM: DaVinci: DMA: honor event queue number for DAVINCI_DMA_CHANNEL_ANY

davinci_request_dma() was using -1 as an array index for dmaqnum[].
Signed-off-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent 1799694e
No related merge requests found
...@@ -919,7 +919,7 @@ int davinci_request_dma(int dev_id, const char *dev_name, ...@@ -919,7 +919,7 @@ int davinci_request_dma(int dev_id, const char *dev_name,
} else { } else {
dma_chan[*lch].tcc = -1; dma_chan[*lch].tcc = -1;
} }
map_dmach_queue(dev_id, eventq_no); map_dmach_queue(*lch, eventq_no);
ret_val = 0; ret_val = 0;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment