On Thu, Sep 29, 2022, at 05:01, Andrey Smirnov wrote:
On Tue, Sep 27, 2022 at 8:53 AM Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
This reverts commit 0f01017191384e3962fa31520a9fd9846c3d352f.
As pointed out by Ferry this breaks Dual Role support on Intel Merrifield platforms.
Fixes: 0f0101719138 ("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
Sven can you check that this also fixes the regression of your fix?
I'll only have time to test this on the weekend but the fix looks good to me.
Reviewed-by: Sven Peter sven@svenpeter.dev
Sven