|
@@ -1931,6 +1931,7 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
|
|
res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "tx");
|
|
res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "tx");
|
|
if (!res) {
|
|
if (!res) {
|
|
dev_err(mmc_dev(host->mmc), "cannot get DMA TX channel\n");
|
|
dev_err(mmc_dev(host->mmc), "cannot get DMA TX channel\n");
|
|
|
|
+ ret = -ENXIO;
|
|
goto err_irq;
|
|
goto err_irq;
|
|
}
|
|
}
|
|
host->dma_line_tx = res->start;
|
|
host->dma_line_tx = res->start;
|
|
@@ -1938,6 +1939,7 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
|
|
res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "rx");
|
|
res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "rx");
|
|
if (!res) {
|
|
if (!res) {
|
|
dev_err(mmc_dev(host->mmc), "cannot get DMA RX channel\n");
|
|
dev_err(mmc_dev(host->mmc), "cannot get DMA RX channel\n");
|
|
|
|
+ ret = -ENXIO;
|
|
goto err_irq;
|
|
goto err_irq;
|
|
}
|
|
}
|
|
host->dma_line_rx = res->start;
|
|
host->dma_line_rx = res->start;
|