mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
dmaengine: idma: remove dma_slave_config direction usage
dma_slave_config direction was marked as deprecated quite some time back, remove the usage from this driver so that the field can be removed Acked-by: Andy Shevchenko <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
fe6d371997
commit
7f0c145089
1 changed files with 0 additions and 4 deletions
|
|
@ -408,10 +408,6 @@ static int idma64_slave_config(struct dma_chan *chan,
|
|||
{
|
||||
struct idma64_chan *idma64c = to_idma64_chan(chan);
|
||||
|
||||
/* Check if chan will be configured for slave transfers */
|
||||
if (!is_slave_direction(config->direction))
|
||||
return -EINVAL;
|
||||
|
||||
memcpy(&idma64c->config, config, sizeof(idma64c->config));
|
||||
|
||||
convert_burst(&idma64c->config.src_maxburst);
|
||||
|
|
|
|||
Loading…
Reference in a new issue