ARM: edma: Fix configuration parsing for SoCs with multiple eDMA3 CC
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 4 Aug 2014 12:26:56 +0000 (15:26 +0300)
committerSekhar Nori <nsekhar@ti.com>
Tue, 26 Aug 2014 09:19:15 +0000 (14:49 +0530)
The edma_setup_from_hw() should know about the CC number when parsing the
CCCFG register - when it reads the register to be precise. The base
addresses for CCs stored in an array and we need to provide the correct id
to edma_read() in order to read the correct register.

Cc: <stable@vger.kernel.org> # 3.16
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

No differences found