diff options
Diffstat (limited to 'drivers/usb/musb/musb_dma.h')
-rw-r--r-- | drivers/usb/musb/musb_dma.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h index 0a2c4e3602c1..916065ba9e70 100644 --- a/drivers/usb/musb/musb_dma.h +++ b/drivers/usb/musb/musb_dma.h | |||
@@ -80,6 +80,17 @@ struct musb_hw_ep; | |||
80 | #define tusb_dma_omap() 0 | 80 | #define tusb_dma_omap() 0 |
81 | #endif | 81 | #endif |
82 | 82 | ||
83 | /* Anomaly 05000456 - USB Receive Interrupt Is Not Generated in DMA Mode 1 | ||
84 | * Only allow DMA mode 1 to be used when the USB will actually generate the | ||
85 | * interrupts we expect. | ||
86 | */ | ||
87 | #ifdef CONFIG_BLACKFIN | ||
88 | # undef USE_MODE1 | ||
89 | # if !ANOMALY_05000456 | ||
90 | # define USE_MODE1 | ||
91 | # endif | ||
92 | #endif | ||
93 | |||
83 | /* | 94 | /* |
84 | * DMA channel status ... updated by the dma controller driver whenever that | 95 | * DMA channel status ... updated by the dma controller driver whenever that |
85 | * status changes, and protected by the overall controller spinlock. | 96 | * status changes, and protected by the overall controller spinlock. |