summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mxs-dma.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-07-01 16:47:28 +0200
committerVinod Koul <vinod.koul@intel.com>2011-07-14 04:56:59 +0530
commitb89243dd0e6a1c96a4a346cb3e1ba2c637cdfe98 (patch)
tree44cf691c79d5ce229ec0afe76d04ebd438c1576e /drivers/dma/mxs-dma.c
parent98ca528916c47ad17f78a07b45e49de3940fba77 (diff)
dmaengine/coh901318: fix slave submission semantics
While testing Per Forlins MMC speed improvements I noticed a semantic bug in the COH901318 driver: it will write to channel registers in the prep_slave_sg() function, instead of deferring it to later, breaking the assumption from the drivers to be able to queue up new jobs while another job is running. Fix this by storing up the initial register writes in the job descriptors and write them to hardware when we process the descriptor instead. Now the stress tests work. Acked-by: Per Forlin <per.forlin@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mxs-dma.c')
0 files changed, 0 insertions, 0 deletions