Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: dwc2: hcd: initialize hsotg->test_mode upon USB_PORT_FEAT_TEST
Set hsotg->test_mode upon SetPortFeature - USB_PORT_FEAT_TEST, as done in gadget part, to avoid, in case of using usb role switch, disconnect on USB_ROLE_NONE (unattach of PIDVID board). Change-Id: I4cd9f2d4cceacbfb94162f95c32808e1145bdbc1 Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/214916 Reviewed-by: CIBUILD <MDG-smet-aci-builds@list.st.com> Reviewed-by: Fabrice GASNIER <fabrice.gasnier@foss.st.com> Reviewed-by: CITOOLS <MDG-smet-aci-reviews@list.st.com>
- Loading branch information