]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
MUSB: Fix TUSB DMA register access
authorTony Lindgren <tony@atomide.com>
Fri, 1 Sep 2006 08:40:46 +0000 (11:40 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Sep 2006 14:16:08 +0000 (17:16 +0300)
It got broken by musb-m1 snapshot.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/tusb6010_omap.c

index 7515d0725072e32fcecb80a59e5141277bcde94e..3a1f4b91cd08a669d260c172245d3a6d9e4ab740 100644 (file)
@@ -143,7 +143,7 @@ static void tusb_omap_dma_cb(int lch, u16 ch_status, void *data)
        struct tusb_omap_dma    *tusb_dma = chdat->tusb_dma;
        struct musb             *musb = chdat->musb;
        struct musb_hw_ep       *hw_ep = chdat->hw_ep;
-       void __iomem            *ep_conf = hw_ep->regs;
+       void __iomem            *ep_conf = hw_ep->conf;
        void __iomem            *musb_base = musb->pRegs;
        unsigned long           transferred, flags;
        int                     ch;
@@ -211,7 +211,7 @@ static int tusb_omap_dma_program(struct dma_channel *channel, u16 packet_sz,
        struct musb                     *musb = chdat->musb;
        struct musb_hw_ep               *hw_ep = chdat->hw_ep;
        void __iomem                    *musb_base = musb->pRegs;
-       void __iomem                    *ep_conf = hw_ep->regs;
+       void __iomem                    *ep_conf = hw_ep->conf;
        dma_addr_t                      fifo = hw_ep->fifo_sync;
        struct omap_dma_channel_params  dma_params;
        int                             src_burst, dst_burst;