linux/drivers/usb/dwc2
Stefan Wahren f341973527 usb: dwc2: Do not set host parameter in peripheral mode
Since commit "usb: dwc2: Improve handling of host and device hwparams" the
host mode specific hardware parameter aren't initialized in peripheral mode
from the register settings anymore. So we better do not set them in this
case which avoids the following warnings on bcm2835:

  256 invalid for host_nperio_tx_fifo_size. Check HW configuration.
  512 invalid for host_perio_tx_fifo_size. Check HW configuration.

Fixes: 55e1040e42 ("usb: dwc2: Improve handling of host and device hwparams")
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: Do not set host parameter in peripheral mode 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