]> git.baikalelectronics.ru Git - kernel.git/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)
commitafe3e332f9765d830577fd37df6ab8576e19dacc
treef7495766583eccc0afc0e16ecf1d395547f235ec
parente78c854acf180bcf5153475f3ada86db33c47516
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: 3b017a380a25 ("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