]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Oct 2014 20:41:01 +0000 (13:41 -0700)
commitf5c7b897bed163874913596cdb874e097d770a16
treecf3232ac9aa34b20b9b5f984582db2e5cf7873c8
parent81e96655afdadfb73f54da071c6086752f1cf718
ARM: edma: Fix configuration parsing for SoCs with multiple eDMA3 CC

commit 929a015b1809a30748d487f9d25b16a41434b61a upstream.

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.

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