]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: am43xx: fix edma memcpy channel allocation
authorTero Kristo <t-kristo@ti.com>
Mon, 14 Mar 2016 09:01:50 +0000 (11:01 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 30 Mar 2016 21:14:28 +0000 (14:14 -0700)
commit69d1e979d78e25b2d671582d2909a9c1ec573cb0
treed2da03df45f34615a97d7943a477f04f83e1600b
parente15f29c1f1f9d4ceae039c2df9872853e062fa7b
ARM: dts: am43xx: fix edma memcpy channel allocation

EDMA was allocating DMA channels 32 and 33 for memcpy usage, out of which
channel 33 is actually used by DES crypto engine. This bad allocation of
the channel causes a crash in the DES crypto engine, as the channel
gets configured for memcpy usage instead of hardware <-> memory DMA.

Fixed by allocating DMA channels 58 and 59 for memcpy usage (I2C0 RX/TX),
which are not used by anybody.

Fixes: 20456d53e8aa ("ARM: DTS: am437x: Use the new DT bindings for
the eDMA3")
Cc: stable@vger.kernel.org # v4.4+
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Suggested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am4372.dtsi