summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel-hid.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2019-01-10 17:04:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-05 22:33:13 +0200
commit1e55e3f6c7359ef4c8dfdb2d79c9bd3dbf006186 (patch)
treef58cc48428dac5f076feeba714efe409880d770d /drivers/platform/x86/intel-hid.c
parent2b20c29bcdf649d18540de84d416844bd19953d3 (diff)
usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
[ Upstream commit 169e3b68cadb5775daca009ced4faf01ffd97dcf ] On v3.10a in dual-role mode, if port is in device mode and gadget driver isn't loaded, the OTG event interrupts don't come through. It seems that if the core is configured to be OTG2.0 only, then we can't leave the DCFG.DEVSPD at Super-speed (default) if we expect OTG to work properly. It must be set to High-speed. Fix this issue by configuring DCFG.DEVSPD to the supported maximum speed at gadget init. Device tree still needs to provide correct supported maximum speed for this to work. This issue wasn't present on v2.40a but is seen on v3.10a. It doesn't cause any side effects on v2.40a. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform/x86/intel-hid.c')
0 files changed, 0 insertions, 0 deletions