mirror of
https://github.com/torvalds/linux
synced 2024-10-21 02:39:51 +00:00
media: sun8i-di: Remove the call to of_dma_configure
of_dma_configure is called by the core before probe gets called so this is redundant. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
c6e95daab1
commit
5739301308
|
@ -825,10 +825,6 @@ static int deinterlace_probe(struct platform_device *pdev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
ret = of_dma_configure(dev->dev, dev->dev->of_node, true);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
dev->base = devm_ioremap_resource(&pdev->dev, res);
|
||||
if (IS_ERR(dev->base))
|
||||
|
|
Loading…
Reference in a new issue