]> git.itanic.dy.fi Git - linux-stable/commit
dmaengine: mv_xor_v2: enable XOR engine after its configuration
authorHanna Hawa <hannah@marvell.com>
Fri, 5 May 2017 09:57:47 +0000 (11:57 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 14 May 2017 12:54:40 +0000 (18:24 +0530)
commitab2c5f0a77fe49bdb6e307b397496373cb47d2c2
treef7495766583eccc0afc0e16ecf1d395547f235ec
parentbc473da1ed726c975ad47f8d7d27631de11356d8
dmaengine: mv_xor_v2: enable XOR engine after its configuration

The engine was enabled prior to its configuration, which isn't
correct. This patch relocates the activation of the XOR engine, to be
after the configuration of the XOR engine.

Fixes: 19a340b1a820 ("dmaengine: mv_xor_v2: new driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Hanna Hawa <hannah@marvell.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor_v2.c