MLK-23574-40 Revert "usb: dwc3: switch to peripheral mode when exiting"
authorYe Li <ye.li@nxp.com>
Sun, 26 Apr 2020 17:02:12 +0000 (10:02 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 10:25:58 +0000 (03:25 -0700)
commitd1f203931b9c27d0dfe7329dc4203a95b4a32416
treec6cac2d589015d22aa803cebd7e3a89e90fef603
parent2fb3269cbded15c249d0539e16be1bffbecf861c
MLK-23574-40 Revert "usb: dwc3: switch to peripheral mode when exiting"

This reverts commit bbe3d4a6c14e17d251029e4dde07f184244e9a4a.
If we set to periperal at exiting, will get a windows USB warning since
it detect a new connection on device mode. Remove this patch to fix
the problem

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 7afd553352835a54fe5b09be2e01177e9016a138)
drivers/usb/dwc3/core.c