ARM: OMAP: dma: Fix the dma_chan_link_map init order
authorR Sricharan <r.sricharan@ti.com>
Thu, 13 Jun 2013 14:17:10 +0000 (19:47 +0530)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 7 Jun 2015 20:25:22 +0000 (23:25 +0300)
commit19d743760c22016af76852912595b7a8ea9709e5
tree6d6e0a2674efe1eec9b7d80acb70dfc85301e00e
parent191458dec70a8685379ad0d1f6ec8787313d1ea6
ARM: OMAP: dma: Fix the dma_chan_link_map init order

Init dma_chan_link_map[lch] *after* its memset to 0.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c