]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit929a015b1809a30748d487f9d25b16a41434b61a
tree30cffce32bda1503c98a7b5525bfa9ebdbd78e99
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
ARM: edma: Fix configuration parsing for SoCs with multiple eDMA3 CC

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>
arch/arm/common/edma.c