diff options
-rw-r--r-- | sound/soc/omap/omap-mcpdm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c index 2fe8be209452..5ca11bdac21e 100644 --- a/sound/soc/omap/omap-mcpdm.c +++ b/sound/soc/omap/omap-mcpdm.c | |||
@@ -449,10 +449,6 @@ static int asoc_mcpdm_probe(struct platform_device *pdev) | |||
449 | omap_mcpdm_dai_dma_params[0].port_addr = res->start + MCPDM_REG_DN_DATA; | 449 | omap_mcpdm_dai_dma_params[0].port_addr = res->start + MCPDM_REG_DN_DATA; |
450 | omap_mcpdm_dai_dma_params[1].port_addr = res->start + MCPDM_REG_UP_DATA; | 450 | omap_mcpdm_dai_dma_params[1].port_addr = res->start + MCPDM_REG_UP_DATA; |
451 | 451 | ||
452 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | ||
453 | if (res == NULL) | ||
454 | return -ENOMEM; | ||
455 | |||
456 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "dn_link"); | 452 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "dn_link"); |
457 | if (!res) | 453 | if (!res) |
458 | return -ENODEV; | 454 | return -ENODEV; |