diff options
author | Jorge Eduardo Candelaria <jorge.candelaria@ti.com> | 2010-05-12 13:18:39 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-05-14 06:20:01 -0400 |
commit | 9319b9da35179e11aa9c15d80062d63b36a0517f (patch) | |
tree | 8a793fe818a70e45e592c915e85e92554f998e5f /arch/arm/mach-omap2/mcbsp.c | |
parent | d98508a121e8f4b1ccf876fea463fa0afddc4e19 (diff) |
ARM: McBSP: Fix request for irq in OMAP4
In OMAP4, there is only one irq line for TX and RX paths. Use
the correct irq line to avoid errors at runtime.
Also, request irq line only once (instead of requesting for TX
and RX).
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'arch/arm/mach-omap2/mcbsp.c')
-rw-r--r-- | arch/arm/mach-omap2/mcbsp.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index be8fce395a58..016fe60c71ad 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
@@ -186,32 +186,28 @@ static struct omap_mcbsp_platform_data omap44xx_mcbsp_pdata[] = { | |||
186 | .phys_base = OMAP44XX_MCBSP1_BASE, | 186 | .phys_base = OMAP44XX_MCBSP1_BASE, |
187 | .dma_rx_sync = OMAP44XX_DMA_MCBSP1_RX, | 187 | .dma_rx_sync = OMAP44XX_DMA_MCBSP1_RX, |
188 | .dma_tx_sync = OMAP44XX_DMA_MCBSP1_TX, | 188 | .dma_tx_sync = OMAP44XX_DMA_MCBSP1_TX, |
189 | .rx_irq = INT_24XX_MCBSP1_IRQ_RX, | 189 | .tx_irq = OMAP44XX_IRQ_MCBSP1, |
190 | .tx_irq = INT_24XX_MCBSP1_IRQ_TX, | ||
191 | .ops = &omap2_mcbsp_ops, | 190 | .ops = &omap2_mcbsp_ops, |
192 | }, | 191 | }, |
193 | { | 192 | { |
194 | .phys_base = OMAP44XX_MCBSP2_BASE, | 193 | .phys_base = OMAP44XX_MCBSP2_BASE, |
195 | .dma_rx_sync = OMAP44XX_DMA_MCBSP2_RX, | 194 | .dma_rx_sync = OMAP44XX_DMA_MCBSP2_RX, |
196 | .dma_tx_sync = OMAP44XX_DMA_MCBSP2_TX, | 195 | .dma_tx_sync = OMAP44XX_DMA_MCBSP2_TX, |
197 | .rx_irq = INT_24XX_MCBSP2_IRQ_RX, | 196 | .tx_irq = OMAP44XX_IRQ_MCBSP2, |
198 | .tx_irq = INT_24XX_MCBSP2_IRQ_TX, | ||
199 | .ops = &omap2_mcbsp_ops, | 197 | .ops = &omap2_mcbsp_ops, |
200 | }, | 198 | }, |
201 | { | 199 | { |
202 | .phys_base = OMAP44XX_MCBSP3_BASE, | 200 | .phys_base = OMAP44XX_MCBSP3_BASE, |
203 | .dma_rx_sync = OMAP44XX_DMA_MCBSP3_RX, | 201 | .dma_rx_sync = OMAP44XX_DMA_MCBSP3_RX, |
204 | .dma_tx_sync = OMAP44XX_DMA_MCBSP3_TX, | 202 | .dma_tx_sync = OMAP44XX_DMA_MCBSP3_TX, |
205 | .rx_irq = INT_24XX_MCBSP3_IRQ_RX, | 203 | .tx_irq = OMAP44XX_IRQ_MCBSP3, |
206 | .tx_irq = INT_24XX_MCBSP3_IRQ_TX, | ||
207 | .ops = &omap2_mcbsp_ops, | 204 | .ops = &omap2_mcbsp_ops, |
208 | }, | 205 | }, |
209 | { | 206 | { |
210 | .phys_base = OMAP44XX_MCBSP4_BASE, | 207 | .phys_base = OMAP44XX_MCBSP4_BASE, |
211 | .dma_rx_sync = OMAP44XX_DMA_MCBSP4_RX, | 208 | .dma_rx_sync = OMAP44XX_DMA_MCBSP4_RX, |
212 | .dma_tx_sync = OMAP44XX_DMA_MCBSP4_TX, | 209 | .dma_tx_sync = OMAP44XX_DMA_MCBSP4_TX, |
213 | .rx_irq = INT_24XX_MCBSP4_IRQ_RX, | 210 | .tx_irq = OMAP44XX_IRQ_MCBSP4, |
214 | .tx_irq = INT_24XX_MCBSP4_IRQ_TX, | ||
215 | .ops = &omap2_mcbsp_ops, | 211 | .ops = &omap2_mcbsp_ops, |
216 | }, | 212 | }, |
217 | }; | 213 | }; |