android_kernel_xiaomi_sm8350/drivers/usb/gadget
David Brownell 901b3d75e7 USB: net2280: update dma buffer allocation
This updates the code handling dma-coherent buffer allocations, basically
reusing code from the musb_hdrc driver.  Instead of trying to work around two
significant limitations of the dma framework (memory wastage for buffers
smaller than a page, and inconsistency between calling context requirements
for allocation and free) this just works around one of them (the latter).

So count this as two steps forward (bugfixes:  the latter issue could cause
errors on some platforms, and some MIPS changes broke code for the former), 
and one step back (increasing cross-platform memory wastage).

Plus linelength and whitespace fixes; and minor data segment shrinkage.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:57 -07:00
..
at91_udc.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
at91_udc.h USB: AT91 UDC updates, mostly power management 2006-08-02 16:41:41 -07:00
config.c
dummy_hcd.c usbcore: trim down usb_bus structure 2006-09-27 11:58:56 -07:00
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c USB: ethernet gadget avoids zlps for musb_hdrc 2006-09-27 11:58:56 -07:00
file_storage.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
gadget_chips.h
gmidi.c USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
goku_udc.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
goku_udc.h
inode.c gadgetfs patch for ep0out 2006-09-27 11:58:56 -07:00
Kconfig USB: fix typo in drivers/usb/gadget/Kconfig 2006-09-27 11:58:55 -07:00
lh7a40x_udc.c [ARM] Fix lh7a40x_udc.c 2006-07-03 15:32:47 +01:00
lh7a40x_udc.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
ndis.h
net2280.c USB: net2280: update dma buffer allocation 2006-09-27 11:58:57 -07:00
net2280.h
omap_udc.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
omap_udc.h
pxa2xx_udc.c USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
pxa2xx_udc.h USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
rndis.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
rndis.h [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
serial.c USB: usb serial gadget smp related bug 2006-09-27 11:58:56 -07:00
usbstring.c
zero.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00