]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "usb: dwc3: Don't switch OTG -> peripheral if extcon is present"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 27 Sep 2022 15:53:32 +0000 (18:53 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2022 11:56:38 +0000 (13:56 +0200)
commita1cb942c7595c20a831adf4d9294121b98066f9c
tree247d707091e49cad4149ce5392033b2bf6fa7e19
parent6f2097d53a8f60e8aba774e4a4ae9ba74a060325
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>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/drd.c