WSL2-Linux-Kernel/drivers/usb/musb
Christoph Hellwig 7b81cb6bdd usb: add a HCD_DMA flag instead of guestimating DMA capabilities
The usb core is the only major place in the kernel that checks for
a non-NULL device dma_mask to see if a device is DMA capable.  This
is generally a bad idea, as all major busses always set up a DMA mask,
even if the device is not DMA capable - in fact bus layers like PCI
can't even know if a device is DMA capable at enumeration time.  This
leads to lots of workaround in HCD drivers, and also prevented us from
setting up a DMA mask for platform devices by default last time we
tried.

Replace this guess with an explicit HCD_DMA that is set by drivers that
appear to have DMA support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20190816062435.881-4-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-21 10:03:35 -07:00
..
Kconfig soc: sunxi: Fix missing dependency on REGMAP_MMIO 2019-04-30 17:55:08 +02:00
Makefile
am35x.c
cppi_dma.c
cppi_dma.h
da8xx.c
davinci.c
davinci.h
jz4740.c usb: musb: jz4740: obtain USB PHY from devicetree 2019-04-30 17:55:08 +02:00
musb_am335x.c
musb_core.c USB: musb: convert platform driver to use dev_groups 2019-08-08 07:52:04 +02:00
musb_core.h
musb_cppi41.c
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c usb: musb: dsps: Use dev_get_drvdata() 2019-04-30 17:55:08 +02:00
musb_gadget.c usb: gadget: musb: fix short isoc packets with inventra dma 2019-01-30 15:48:10 +01:00
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h
musb_virthub.c
musbhsdma.c usb: gadget: musb: fix short isoc packets with inventra dma 2019-01-30 15:48:10 +01:00
omap2430.c usb: musb: omap2430: Add support for idling phy when musb is idle 2019-04-30 17:55:08 +02:00
omap2430.h
sunxi.c
tusb6010.c
tusb6010.h
tusb6010_omap.c
ux500.c
ux500_dma.c