]> git.baikalelectronics.ru Git - kernel.git/commit
USB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if extcon...
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Apr 2022 05:27:39 +0000 (15:27 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 09:19:42 +0000 (11:19 +0200)
commite9609c123bb29bed56594f0648022ca6a1ddcaec
tree39e14ddd074541c7972ca4de79a547344439b8c1
parentd737040e1d052103d9bd9509b8b4c6f21db7070e
USB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if extcon is present"

Today's linux-next merge of the extcon tree got a conflict in:

  drivers/usb/dwc3/drd.c

between commit:

  192e7b4fa42c ("usb: dwc3: Don't switch OTG -> peripheral if extcon is present")

from the usb tree and commit:

  88490c7f43c4 ("extcon: Fix extcon_get_extcon_dev() error handling")

from the extcon tree.

I fixed it up (the former moved the code modified by the latter, so I
used the former version of this files and added the following merge fix
patch) and can carry the fix as necessary.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20220426152739.62f6836e@canb.auug.org.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c