]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: pxa2xx_udc -- cleanups, mostly removing dma hooks
authorDavid Brownell <david-b@pacbell.net>
Sat, 30 Jun 2007 13:30:04 +0000 (06:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:42 +0000 (16:34 -0700)
commitad8c623f4f48085edd51c7f4cdfd10295547bf45
treedc28542ddc3173dab56fa6d4cd8694686f028968
parent9068a4c6467986e8fda5bdb29bd5f10c6788e2ff
USB: pxa2xx_udc -- cleanups, mostly removing dma hooks

Cleanups to the pxa2xx_udc code:

  - Primarily removing unused DMA hooks.
  - One "sparse" warning removed
  - Remove some Lubbock-only LED hooks (for debugging)

That DMA code was never really completed.  It worked, mostly, for IN
transfers (to the host) if they were fortuitously aligned, but that
code was never fully tested.  And it was never coded for OUT transfers
(which is where DMA would really help) ... because of chip errata on
essentially every chip other than the pxa255, and because of design
botches (nothing automated data toggle).  So it's effectively been
dead code for several years now ... no point in keeping it around.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/pxa2xx_udc.c
drivers/usb/gadget/pxa2xx_udc.h