]> git.baikalelectronics.ru Git - kernel.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)
commit9c237478488539bcc6376f0132267df143ec1011
treedc28542ddc3173dab56fa6d4cd8694686f028968
parent68e4c28933ea98f6380b55496180337a7b7eb621
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