android_kernel_xiaomi_sm8350/drivers/usb/gadget
David Brownell 8a3c1f573c USB: omap_udc: workaround dma_free_coherent() bogosity
Various fixes to omap_udc, noted with some recent testing:

 - Cope with some SMP-induced braindamage in ARM's dma_{alloc,free}_coherent()
   implementation: alloc() can be called with IRQs blocked, but since late
   last year that's no longer true for free().  This resolves really NASTY
   problems with logspamming via WARN_ON(), indicating N-page leaks.

 - Be more correct in handling GET_STATUS request for RECIP_ENDPOINT ... the
   previous code only handled RECIP_INTERFACE, this version should be correct
   except for (sigh) bulk/interrupt endpoints.

 - Provide a better name for the function reporting whether the board has
   vbus sensing wired up.

GET_STATUS requests for endpoint status still acts strangely though, at least
given one flakey host doesn't always ack the first DATA packet, then the packet
that gets retransmitted doesn't have data!

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-03-26 14:17:48 -07:00
..
at91_udc.c USB: at91_udc, fix more modpost bogosity (rename driver struct) 2007-03-09 19:52:22 -08:00
at91_udc.h USB: at91_udc wakeup event updates 2007-02-07 15:44:37 -08:00
config.c
dummy_hcd.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
epautoconf.c
ether.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
file_storage.c [PATCH] remove invalidate_inode_pages() 2007-02-11 10:51:31 -08:00
gadget_chips.h USB: list atmel husb2_udc gadget controller 2007-02-07 15:44:39 -08:00
gmidi.c
goku_udc.c USB: goku_udc: Remove crude cache coherency code 2007-03-09 19:52:23 -08:00
goku_udc.h
inode.c gadgetfs: Fixed bug in ep_aio_read_retry. 2007-02-23 15:03:46 -08:00
Kconfig
lh7a40x_udc.c
lh7a40x_udc.h
Makefile
ndis.h
net2280.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
net2280.h
omap_udc.c USB: omap_udc: workaround dma_free_coherent() bogosity 2007-03-26 14:17:48 -07:00
omap_udc.h
pxa2xx_udc.c Revert "USB: pxa2xx_udc: fix hardcoded irq number" 2007-03-10 14:22:07 -08:00
pxa2xx_udc.h [ARM] 4141/1: consolidate functions that handles gpio in pxa2xx_udc 2007-02-08 14:56:51 +00:00
rndis.c [PATCH] proc: remove useless (and buggy) ->nlink settings 2007-02-11 10:51:32 -08:00
rndis.h
serial.c USB: fix g_serial small error 2007-02-16 15:32:20 -08:00
usbstring.c
zero.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00