Revert "usb: dwc3: Don't switch OTG -> peripheral if extcon is present"
This reverts commit
9df44fa57d5ff32fb650990a4eab07c62dabf820.
As pointed out by Ferry this breaks Dual Role support on
Intel Merrifield platforms.
Fixes: 9df44fa57d5f ("usb: dwc3: Don't switch OTG -> peripheral if extcon is present")
Reported-by: Ferry Toth <fntoth@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Ferry Toth <fntoth@gmail.com> # for Merrifield
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/20220927155332.10762-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>