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 usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: remove an unused variable 2018-05-31 12:44:39 +02:00
davinci.c usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
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 usb: musb: remove duplicated port mode enum 2018-05-22 12:03:25 +02:00
musb_cppi41.c usb: musb: remove duplicated quirks flag 2018-05-22 12:03:24 +02:00
musb_debug.h USB: musb: clean up debugfs file and directory creation 2018-05-31 12:54:21 +02:00
musb_debugfs.c USB: musb: clean up debugfs file and directory creation 2018-05-31 12:54:21 +02:00
musb_dma.h usb: musb: remove duplicated quirks flag 2018-05-22 12:03:24 +02:00
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 usb: musb: gadget: fix to_musb_ep() to not return NULL 2018-05-22 12:03:25 +02:00
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 usb: musb: remove duplicated quirks flag 2018-05-22 12:03:24 +02:00
musb_regs.h usb: musb: remove some register access wrapper functions 2018-05-22 12:03:24 +02:00
musb_trace.c
musb_trace.h
musb_virthub.c usb: musb: remove duplicated port mode enum 2018-05-22 12:03:25 +02:00
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 usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
tusb6010.c
tusb6010.h
tusb6010_omap.c
ux500.c usb: musb: remove references to default_a of struct usb_otg 2018-05-22 12:03:25 +02:00
ux500_dma.c