ARM: edma: Take the number of tc from edma_soc_info (pdata)
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 16 May 2014 12:17:09 +0000 (15:17 +0300)
committerSekhar Nori <nsekhar@ti.com>
Thu, 22 May 2014 05:17:46 +0000 (10:47 +0530)
commitcf4afc3d2b6e11e507692c422eaf2b2e691e00d7
tree7d7da57ea9f77be9c3465cd0292b83d6b70bb995
parent89df4bed0f25157700c0ade5ac5f0296150eaecd
ARM: edma: Take the number of tc from edma_soc_info (pdata)

Instead of saving the for loop length, take the num_tc value from the pdata.
In case of DT boot set the n_tc to 3 as it is hardwired in edma_of_parse_dt()
This is a temporary state since upcoming patch(es) will change how we are
dealing with these parameters.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/common/edma.c