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

Commit 41c4d554 authored by Sebastien Guiriec's avatar Sebastien Guiriec Committed by Mark Brown
Browse files

ASoC: omap-mcpdm: Remove useless ressource get.



Remove unused memory ressource get from McPDM driver.

Signed-off-by: default avatarSebastien Guiriec <s-guiriec@ti.com>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 836dc9e3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -449,10 +449,6 @@ static int asoc_mcpdm_probe(struct platform_device *pdev)
	omap_mcpdm_dai_dma_params[0].port_addr = res->start + MCPDM_REG_DN_DATA;
	omap_mcpdm_dai_dma_params[1].port_addr = res->start + MCPDM_REG_UP_DATA;

	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	if (res == NULL)
		return -ENOMEM;

	res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "dn_link");
	if (!res)
		return -ENODEV;