usb: cdns3: core: quit if it uses role switch class
authorPeter Chen <peter.chen@nxp.com>
Tue, 1 Sep 2020 02:33:48 +0000 (10:33 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 2 Oct 2020 06:57:40 +0000 (09:57 +0300)
commit50642709f6590fe40afa6d22c32f23f5b842aed5
tree919789eb6596300acd9462887ddeb858e8f4fe72
parenta609ce2a13360d639b384b6ca783b38c1247f2db
usb: cdns3: core: quit if it uses role switch class

If the board uses role switch class for switching the role, it should
not depends on SoC OTG hardware siginal any more, so quit early.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/core.c