android_kernel_xiaomi_sdm845/drivers/usb/gadget
David Brownell 9d8bab58b7 usb gadget stack: remove usb_ep_*_buffer(), part 1
Remove usb_ep_{alloc,free}_buffer() calls, for small dma-coherent buffers.
This patch just removes the interface and its users; later patches will
remove controller driver support.

  - This interface is invariably not implemented correctly in the
    controller drivers (e.g. using dma pools, a mechanism which
    post-dates the interface by several years).

  - At this point no gadget driver really *needs* to use it.  In
    current kernels, any driver that needs such a mechanism could
    allocate a dma pool themselves.

Removing this interface is thus a simplification and improvement.

Note that the gmidi.c driver had a bug in this area; fixed.

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
..
at91_udc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
at91_udc.h USB: at91_udc wakeup event updates 2007-02-07 15:44:37 -08:00
config.c USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
dummy_hcd.c USB: Don't resume root hub if the controller is suspended 2007-07-12 16:34:39 -07:00
epautoconf.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
ether.c usb gadget: Rename husb2dev -> usba 2007-07-12 16:34:38 -07:00
file_storage.c usb gadget stack: remove usb_ep_*_buffer(), part 1 2007-07-12 16:34:42 -07:00
fsl_usb2_udc.c USB: fsl_usb2_udc: fix bug for portsc bit masking 2007-07-12 16:34:38 -07:00
fsl_usb2_udc.h USB: fsl_usb2_udc: Get max ep number from DCCPARAMS register 2007-07-12 16:34:30 -07:00
gadget_chips.h usb gadget: Rename husb2dev -> usba 2007-07-12 16:34:38 -07:00
gmidi.c usb gadget stack: remove usb_ep_*_buffer(), part 1 2007-07-12 16:34:42 -07:00
goku_udc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
goku_udc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c usb gadget stack: remove usb_ep_*_buffer(), part 1 2007-07-12 16:34:42 -07:00
Kconfig USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
lh7a40x_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
lh7a40x_udc.h USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
m66592-udc.c USB: m66592-udc: fix use old interrupt flags 2007-07-12 16:29:45 -07:00
m66592-udc.h USB: m66592-udc: peripheral controller driver for M66592 2007-07-12 16:29:45 -07:00
Makefile USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c PCI: add pci_try_set_mwi 2007-07-11 16:02:11 -07:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
omap_udc.h USB: omap_udc build fixes (sync with linux-omap) 2007-01-05 12:19:09 -08:00
pxa2xx_udc.c USB: pxa2xx_udc -- cleanups, mostly removing dma hooks 2007-07-12 16:34:42 -07:00
pxa2xx_udc.h USB: pxa2xx_udc -- cleanups, mostly removing dma hooks 2007-07-12 16:34:42 -07:00
rndis.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
rndis.h USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
s3c2410_udc.c USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
s3c2410_udc.h USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
serial.c USB: usb serial gadget, sparse fixes 2007-07-12 16:29:51 -07:00
usbstring.c USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
zero.c usb gadget stack: remove usb_ep_*_buffer(), part 1 2007-07-12 16:34:42 -07:00