提交 fe6d3719 编写于 作者: V Vinod Koul

dmaengine: hsu: 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: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NVinod Koul <vkoul@kernel.org>
上级 3d143c25
...@@ -348,10 +348,6 @@ static int hsu_dma_slave_config(struct dma_chan *chan, ...@@ -348,10 +348,6 @@ static int hsu_dma_slave_config(struct dma_chan *chan,
{ {
struct hsu_dma_chan *hsuc = to_hsu_dma_chan(chan); struct hsu_dma_chan *hsuc = to_hsu_dma_chan(chan);
/* Check if chan will be configured for slave transfers */
if (!is_slave_direction(config->direction))
return -EINVAL;
memcpy(&hsuc->config, config, sizeof(hsuc->config)); memcpy(&hsuc->config, config, sizeof(hsuc->config));
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册