]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Revert "Fix McBSP virt_base usage"
authorTony Lindgren <tony@atomide.com>
Thu, 4 Sep 2008 18:26:03 +0000 (11:26 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 4 Sep 2008 18:26:03 +0000 (11:26 -0700)
This reverts commit ecec3b3e080464cc1b4e792cf4d8e7e89d50b011.

The mcbsp in DSP memory area need handling for phys_base.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/mcbsp.c
arch/arm/plat-omap/mcbsp.c

index e4fe1c77331e3defe25de9023e8b56c1ae4eaa0a..265cfc2c490128ac2b17c69104fea8f0bc4cb489 100644 (file)
@@ -159,7 +159,7 @@ static struct omap_mcbsp_platform_data omap730_mcbsp_pdata[] = {
 #ifdef CONFIG_ARCH_OMAP15XX
 static struct omap_mcbsp_platform_data omap15xx_mcbsp_pdata[] = {
        {
-               .virt_base      = io_p2v(OMAP1510_MCBSP1_BASE),
+               .virt_base      = OMAP1510_MCBSP1_BASE,
                .dma_rx_sync    = OMAP_DMA_MCBSP1_RX,
                .dma_tx_sync    = OMAP_DMA_MCBSP1_TX,
                .rx_irq         = INT_McBSP1RX,
@@ -176,7 +176,7 @@ static struct omap_mcbsp_platform_data omap15xx_mcbsp_pdata[] = {
                .ops            = &omap1_mcbsp_ops,
        },
        {
-               .virt_base      = io_p2v(OMAP1510_MCBSP3_BASE),
+               .virt_base      = OMAP1510_MCBSP3_BASE,
                .dma_rx_sync    = OMAP_DMA_MCBSP3_RX,
                .dma_tx_sync    = OMAP_DMA_MCBSP3_TX,
                .rx_irq         = INT_McBSP3RX,
@@ -194,7 +194,7 @@ static struct omap_mcbsp_platform_data omap15xx_mcbsp_pdata[] = {
 #ifdef CONFIG_ARCH_OMAP16XX
 static struct omap_mcbsp_platform_data omap16xx_mcbsp_pdata[] = {
        {
-               .virt_base      = io_p2v(OMAP1610_MCBSP1_BASE),
+               .virt_base      = OMAP1610_MCBSP1_BASE,
                .dma_rx_sync    = OMAP_DMA_MCBSP1_RX,
                .dma_tx_sync    = OMAP_DMA_MCBSP1_TX,
                .rx_irq         = INT_McBSP1RX,
@@ -211,7 +211,7 @@ static struct omap_mcbsp_platform_data omap16xx_mcbsp_pdata[] = {
                .ops            = &omap1_mcbsp_ops,
        },
        {
-               .virt_base      = io_p2v(OMAP1610_MCBSP3_BASE),
+               .virt_base      = OMAP1610_MCBSP3_BASE,
                .dma_rx_sync    = OMAP_DMA_MCBSP3_RX,
                .dma_tx_sync    = OMAP_DMA_MCBSP3_TX,
                .rx_irq         = INT_McBSP3RX,
index 8dbded5cc112bbb5db7fd1dfd8968bd46dffe3fd..0f0e3f3cd2a5bb10cb7a774ecf3558c38f0b2371 100644 (file)
@@ -701,7 +701,7 @@ int omap_mcbsp_xmit_buffer(unsigned int id, dma_addr_t buffer,
        omap_set_dma_dest_params(mcbsp->dma_tx_lch,
                                 src_port,
                                 OMAP_DMA_AMODE_CONSTANT,
-                                io_v2p(mcbsp->io_base + OMAP_MCBSP_REG_DXR1),
+                                mcbsp->io_base + OMAP_MCBSP_REG_DXR1,
                                 0, 0);
 
        omap_set_dma_src_params(mcbsp->dma_tx_lch,
@@ -764,7 +764,7 @@ int omap_mcbsp_recv_buffer(unsigned int id, dma_addr_t buffer,
        omap_set_dma_src_params(mcbsp->dma_rx_lch,
                                src_port,
                                OMAP_DMA_AMODE_CONSTANT,
-                               io_v2p(mcbsp->io_base + OMAP_MCBSP_REG_DRR1),
+                               mcbsp->io_base + OMAP_MCBSP_REG_DRR1,
                                0, 0);
 
        omap_set_dma_dest_params(mcbsp->dma_rx_lch,