linux_dsm_epyc7002/drivers/usb/dwc2
Doug Anderson 2867c05d4c usb: dwc2: Read GNPTXFSIZ when in forced HOST mode.
The documentation for GNPTXFSIZ says that "For host mode, this field
is always valid."  Since we're already switching to host mode for
HPTXFSIZ, let's also read GNPTXFSIZ in host mode.

On an rk3288 SoC, without this change we see this at bootup:
  dwc2 ff580000.usb: gnptxfsiz=00100400
  dwc2 ff580000.usb: 128 invalid for host_nperio_tx_fifo_size. Check HW configuration.

After this change we see:
  dwc2 ff580000.usb: gnptxfsiz=04000400

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-08 15:41:14 -07:00
..
core_intr.c usb: dwc2: handle the Host Port Interrupt when it occurs in device mode 2014-02-07 14:34:38 -08:00
core.c usb: dwc2: Read GNPTXFSIZ when in forced HOST mode. 2014-09-08 15:41:14 -07:00
core.h usb: dwc2: move s3c-hsotg data structures 2014-04-24 13:12:43 -07:00
gadget.c usb: dwc2: gadget: Set the default EP max packet value as 8 bytes 2014-08-25 13:12:27 -07:00
hcd_ddma.c Move DWC2 driver out of staging 2014-01-13 14:44:01 -08:00
hcd_intr.c usb: dwc2: fix dereference before NULL check 2014-02-15 12:26:14 -08:00
hcd_queue.c Move DWC2 driver out of staging 2014-01-13 14:44:01 -08:00
hcd.c usb: dwc2: fix memory corruption in dwc2 driver 2014-02-04 12:59:14 -08:00
hcd.h Move DWC2 driver out of staging 2014-01-13 14:44:01 -08:00
hw.h usb: dwc2: add defines to support s3c-hsotg driver 2014-04-24 13:12:43 -07:00
Kconfig usb: dwc2/s3c-hsotg: move s3c-hsotg into dwc2 directory 2014-04-24 13:12:43 -07:00
Makefile usb: dwc2/s3c-hsotg: move s3c-hsotg into dwc2 directory 2014-04-24 13:12:43 -07:00
pci.c Move DWC2 driver out of staging 2014-01-13 14:44:01 -08:00
platform.c usb: dwc2: add compatible data for rockchip soc 2014-09-08 15:41:14 -07:00