diff options
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 2338703746a4..823d21cb87c0 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -1924,12 +1924,14 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev) | |||
1924 | host->rx_chan = dma_request_channel(mask, omap_dma_filter_fn, &rx_req); | 1924 | host->rx_chan = dma_request_channel(mask, omap_dma_filter_fn, &rx_req); |
1925 | if (!host->rx_chan) { | 1925 | if (!host->rx_chan) { |
1926 | dev_err(mmc_dev(host->mmc), "unable to obtain RX DMA engine channel %u\n", rx_req); | 1926 | dev_err(mmc_dev(host->mmc), "unable to obtain RX DMA engine channel %u\n", rx_req); |
1927 | ret = -ENXIO; | ||
1927 | goto err_irq; | 1928 | goto err_irq; |
1928 | } | 1929 | } |
1929 | 1930 | ||
1930 | host->tx_chan = dma_request_channel(mask, omap_dma_filter_fn, &tx_req); | 1931 | host->tx_chan = dma_request_channel(mask, omap_dma_filter_fn, &tx_req); |
1931 | if (!host->tx_chan) { | 1932 | if (!host->tx_chan) { |
1932 | dev_err(mmc_dev(host->mmc), "unable to obtain TX DMA engine channel %u\n", tx_req); | 1933 | dev_err(mmc_dev(host->mmc), "unable to obtain TX DMA engine channel %u\n", tx_req); |
1934 | ret = -ENXIO; | ||
1933 | goto err_irq; | 1935 | goto err_irq; |
1934 | } | 1936 | } |
1935 | 1937 | ||