]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3726aff3051d84dffefde5e29b7c88e59c45a01a
tree7d7da57ea9f77be9c3465cd0292b83d6b70bb995
parent6a939dae40c893420170999f7b36cf34ff67d1d4
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