summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorYunzhi Li <lyz@rock-chips.com>2015-12-17 20:14:26 +0100
committerFelipe Balbi <balbi@ti.com>2015-12-22 18:51:45 +0100
commitcebfdbf329ae929ccb71632888a7c2100c3d1eeb (patch)
treed1b535eb8b5c28a1c83bd822221d24066a0ed49d /COPYING
parentusb: dwc2: Restore GUSBCFG in dwc2_get_hwparams() (diff)
downloadlinux-cebfdbf329ae929ccb71632888a7c2100c3d1eeb.tar.xz
linux-cebfdbf329ae929ccb71632888a7c2100c3d1eeb.zip
usb: dwc2: reset dwc2 core before dwc2_get_hwparams()
We initiate dwc2 usb controller in BIOS, dwc2_core_reset() should be called before dwc2_get_hwparams() to reset core registers to default value. Without this the FIFO setting might be incorrect because calculating FIFO size need power-on value of GRXFSIZ/GNPTXFSIZ/HPTXFSIZ registers. This patch could avoid warnning massage like in rk3288 platform: [ 2.074764] dwc2 ff580000.usb: 256 invalid for host_perio_tx_fifo_size. Check HW configuration. Signed-off-by: Yunzhi Li <lyz@rock-chips.com> Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions