]> git.baikalelectronics.ru Git - kernel.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)
commit8bbfe5820ff4abdb3e809620d1b4daa3a2eb995c
tree30cffce32bda1503c98a7b5525bfa9ebdbd78e99
parentf45f9587f1dd1e89dd1c89561c9572f777c5bcb7
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