Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 661f7cb5 authored by Matt Porter's avatar Matt Porter Committed by Vinod Koul
Browse files

dma: edma: fix slave config dependency on direction



The edma_slave_config() implementation depends on the
direction field such that it will not properly configure
a slave channel when called without direction set.

This fixes the implementation so that the slave config
is copied as is and prep_slave_sg() handles the
direction dependent handling. spi-omap2-mcspi and
omap_hsmmc both expose this bug as they configure the
slave channel config from a common path with an unconfigured
direction field.

Signed-off-by: default avatarMatt Porter <mporter@ti.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 3a95b9fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment