David Brownell c67ab134ba usb gadget stack: remove usb_ep_*_buffer(), part 2
This patch removes controller driver infrastructure which supported
the now-removed usb_ep_{alloc,free}_buffer() calls.

As can be seen, many of the implementations of this were broken to
various degrees.  Many didn't properly return dma-coherent mappings;
those which did so were necessarily ugly because of bogosity in the
underlying dma_free_coherent() calls ... which on many platforms
can't be called from the same contexts (notably in_irq) from which
their dma_alloc_coherent() sibling can be called.

The main potential downside of removing this is that gadget drivers
wouldn't have specific knowledge that the controller drivers have:
endpoints that aren't dma-capable don't need any dma mappings at all.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-12 16:34:42 -07:00
..
2007-06-02 01:02:09 -04:00
2007-07-11 16:02:11 -07:00
2007-07-11 16:02:11 -07:00
2007-07-11 16:02:11 -07:00
2007-07-11 16:02:11 -07:00
2007-07-11 16:02:11 -07:00
2007-06-24 08:59:11 -07:00
2007-07-11 16:02:11 -07:00
2007-04-27 14:23:33 +03:00
2007-05-31 11:03:27 +02:00