diff options
Diffstat (limited to 'arch/arm/plat-omap/mcbsp.c')
-rw-r--r-- | arch/arm/plat-omap/mcbsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 5f25ae5f9c1d..62bd073b0f8f 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch/arm/plat-omap/mcbsp.c | |||
@@ -1812,6 +1812,10 @@ static int __devinit omap_mcbsp_probe(struct platform_device *pdev) | |||
1812 | mcbsp->tx_irq = platform_get_irq_byname(pdev, "tx"); | 1812 | mcbsp->tx_irq = platform_get_irq_byname(pdev, "tx"); |
1813 | mcbsp->rx_irq = platform_get_irq_byname(pdev, "rx"); | 1813 | mcbsp->rx_irq = platform_get_irq_byname(pdev, "rx"); |
1814 | 1814 | ||
1815 | /* From OMAP4 there will be a single irq line */ | ||
1816 | if (mcbsp->tx_irq == -ENXIO) | ||
1817 | mcbsp->tx_irq = platform_get_irq(pdev, 0); | ||
1818 | |||
1815 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "rx"); | 1819 | res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "rx"); |
1816 | if (!res) { | 1820 | if (!res) { |
1817 | dev_err(&pdev->dev, "%s:mcbsp%d has invalid rx DMA channel\n", | 1821 | dev_err(&pdev->dev, "%s:mcbsp%d has invalid rx DMA channel\n", |