diff options
author | Doug Anderson | 2014-08-07 12:48:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-09-08 15:41:14 -0700 |
commit | 2867c05d4cb1638217522fb270f1a0a5794a10b9 (patch) | |
tree | 9ae11505d33487be99dec5a53b559d4ef30e394e /crypto | |
parent | 9508314655ba3f730c6290f5a7683e3a0c9e351d (diff) |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions