usb: dwc3: gadget: Disable super speed capability temporarily
Super speed descriptors are included only when gadget_is_superspeed()
returns true. This function always return 0 if USB_GADGET_SUPERSPEED
is not enabled. As this config is disabled, host will never receive
super speed descriptors.
gadget_is_superspeed() function implementation is going to be changed
to return value based on the gadget max_speed attribute. The dwc3
gadget set max_speed to SUPER SPEED which makes gadget_is_superspeed()
to return true. This may cause problems as all functions are not
updated with super speed descriptors. Hence temporarily set max_speed
of dwc to HIGH SPEED.
Change-Id: I7fec5cc9d41449f3ab2b776dbdc039abc150a8b2
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
1 file changed