summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2015-12-17 19:14:12 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-12-22 17:51:30 (GMT)
commit991824677fe0a555394d8093b64647dbd08b89b0 (patch)
tree8ee3fd2723ebab4498418af9c2704f99e2131d51 /drivers/vhost
parent3be99cd0e882dd2127b8cfe3942f5e464915aeba (diff)
downloadlinux-991824677fe0a555394d8093b64647dbd08b89b0.tar.xz
usb: dwc2: Restore GUSBCFG in dwc2_get_hwparams()
Previously dwc2_get_hwparams() was changing GUSBCFG and not putting it back the way it was (specifically it set and cleared FORCEHOSTMODE). Since we want to move dwc2_core_reset() _before_ dwc2_get_hwparams() we should make sure dwc2_get_hwparams() isn't messing with things in a permanent way. Since we're now looking at GUSBCFG, it's obvious that we shouldn't need all the extra delays if FORCEHOSTMODE was already set. This will avoid some delays for any ports that have forced host mode. 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 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions