aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/omap_udc.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2006-06-26 19:16:15 -0400
committerTony Lindgren <tony@atomide.com>2006-06-26 19:16:15 -0400
commit7ff879dbcd2083c95933a56bce65ae45ecab3f35 (patch)
treeba34240578d5d8cebf58ad9e5f23d22d3eed2d5a /drivers/usb/gadget/omap_udc.c
parent6dc3c8f20159530d5553d0f8decc9454916d7495 (diff)
ARM: OMAP: Fix DMA channel irq handling for omap24xx
- DMA CSR register is cleared by reading on omap1, but on omap2 it is cleard by writing to it. - DMA TOUT interrupt does not exist on omap24xx, rename it - Add SECURE and MISALIGNED errors by default for omap24xx - Add defines for external DMA request lines Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r--drivers/usb/gadget/omap_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c
index fbea51448909..36336486c883 100644
--- a/drivers/usb/gadget/omap_udc.c
+++ b/drivers/usb/gadget/omap_udc.c
@@ -773,7 +773,7 @@ static void dma_error(int lch, u16 ch_status, void *data)
773 struct omap_ep *ep = data; 773 struct omap_ep *ep = data;
774 774
775 /* if ch_status & OMAP_DMA_DROP_IRQ ... */ 775 /* if ch_status & OMAP_DMA_DROP_IRQ ... */
776 /* if ch_status & OMAP_DMA_TOUT_IRQ ... */ 776 /* if ch_status & OMAP1_DMA_TOUT_IRQ ... */
777 ERR("%s dma error, lch %d status %02x\n", ep->ep.name, lch, ch_status); 777 ERR("%s dma error, lch %d status %02x\n", ep->ep.name, lch, ch_status);
778 778
779 /* complete current transfer ... */ 779 /* complete current transfer ... */