Commit 14f651a8 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: omap_udc updates

This is a collection of updates to the OMAP UDC driver.

  - OMAP-1510 support, including DMA (the DMA controller isn't quite
    the same as on newer chips) but not double buffering.

  - Some PIO work:

      * fix some races that showed up on OMAP-1510

      * tracking down annoying PIO-OUT lossage and making double buffering
        start to behave (needed as fallback if all DMA channels are in use).

  - DMA-IN works on both 1510 and 16xx

Plus minor cleanups.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 14bfb615
This diff is collapsed.
...@@ -146,11 +146,14 @@ struct omap_ep { ...@@ -146,11 +146,14 @@ struct omap_ep {
u8 bmAttributes; u8 bmAttributes;
unsigned double_buf:1; unsigned double_buf:1;
unsigned stopped:1; unsigned stopped:1;
unsigned ackwait:1; unsigned fnf:1;
unsigned has_dma:1; unsigned has_dma:1;
u8 ackwait;
u8 dma_channel; u8 dma_channel;
u16 dma_counter;
int lch; int lch;
struct omap_udc *udc; struct omap_udc *udc;
struct timer_list timer;
}; };
struct omap_udc { struct omap_udc {
...@@ -168,7 +171,6 @@ struct omap_udc { ...@@ -168,7 +171,6 @@ struct omap_udc {
unsigned ep0_set_config:1; unsigned ep0_set_config:1;
unsigned ep0_reset_config:1; unsigned ep0_reset_config:1;
unsigned ep0_setup:1; unsigned ep0_setup:1;
unsigned hmc:6;
struct completion *done; struct completion *done;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment