# Re: \[PATCH 02/18\] dmaengine: imx-sdma: pass struct device to DMA API functions

- From: Vinod Koul \<vkoul@kernel.org\>
- Date: 2019-02-02 10:12:54 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/02/5502008
- Thread: https://ratatoskr.run/linux-mips/2019/02/5501082/t.md

```text
On 01-02-19, 09:47, Christoph Hellwig wrote:
> The DMA API generally relies on a struct device to work properly, and
> only barely works without one for legacy reasons.  Pass the easily
> available struct device from the platform_device to remedy this.

This looks good to me but fails to apply. Can you please base it on
dmaengine-next or linux-next please and resend

Thanks
-- 
~Vinod
```
