• D
    [PATCH] USB: more omap_udc updates (dma and omap1710) · 65111084
    David Brownell 提交于
    More omap_udc updates:
    
      * OMAP 1710 updates
          - new UDC bit for clearing endpoint toggle, affecting CLEAR_HALT
          - new OTG bits affecting wakeup
      * Fix the bug Vladimir noted, that IN-DMA transfer code path kicks in
        for under 1024 bytes (not "up to 1024 bytes")
      * Handle transceiver setup more intelligently
          - use transceiver whenever one's available; this can be handy
            for GPIO based, loopback, or transceiverless configs
          - cleanup correctly after the "unrecognized HMC" case
      * DMA performance tweaks
          - allow burst/pack for memory access
          - use 16 bit DMA access most of the time on TIPB
      * Add workarounds for some DMA errata (not observed "in the wild"):
          - DMA CSAC/CDAC reads returning zero
          - RX/TX DMA config registers bit 12 always reads as zero (TI patch)
      * More "sparse" warnings removed, notably "changing" the SETUP packet
        to return data in USB byteorder (an API change, null effect on OMAP
        except for these warnings).
    Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    65111084
omap_udc.h 6.6 KB