linux/drivers/usb/dwc2
Stefan Wahren 6118d0647b usb: dwc2: fix default value for DMA support
The current defaults for DMA results on a non-DMA platform in a unnecessary
error message:

  Invalid value 0 for param gadget-dma

So fix this by using dma_capable as default value.

Fixes: 9962b62f1b ("usb: dwc2: Deprecate g-use-dma binding")
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-01-02 10:55:28 +02:00
..
core_intr.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
core.c usb: dwc2: Declare the core params struct statically 2016-11-18 13:54:11 +02:00
core.h usb: dwc2: gadget: Add new core parameter for low speed 2016-11-18 13:54:50 +02:00
debug.h usb: dwc2: move debugfs code to a separate file 2015-04-29 15:18:25 -05:00
debugfs.c usb: dwc2: Fix fifo_show() functionality 2016-11-18 13:54:53 +02:00
gadget.c usb: dwc2: Remove unnecessary request length checking 2016-11-18 13:54:53 +02:00
hcd_ddma.c usb: dwc2: host: Rename MAX_DMA_DESC_SIZE to HOST_DMA_NBYTES_LIMIT 2016-11-18 13:54:19 +02:00
hcd_intr.c usb: dwc2: Stop Complete Splits after Data PID == 0 2016-11-18 13:54:52 +02:00
hcd_queue.c usb: dwc2: Fix coverity issue in hcd_queue.c 2016-11-18 13:54:17 +02:00
hcd.c usb: dwc2: Move functions from header to source 2016-11-18 13:54:54 +02:00
hcd.h usb: dwc2: Move functions from header to source 2016-11-18 13:54:54 +02:00
hw.h usb: dwc2: gadget: Enable the BNA interrupt 2016-11-18 13:54:47 +02:00
Kconfig USB: dwc2-usb: add USB_GADGET dependency 2016-06-29 11:11:41 +03:00
Makefile usb: dwc2: Add params.c file 2016-11-18 13:54:10 +02:00
params.c usb: dwc2: fix default value for DMA support 2017-01-02 10:55:28 +02:00
pci.c usb: dwc2: Deprecate g-use-dma binding 2016-11-18 13:54:17 +02:00
platform.c usb: dwc2: Remove dwc2_set_all_params function 2016-11-18 13:54:11 +02:00