- net-next.git - net-next plumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2016-08-16 19:19:11 +0800
committerPeter Chen <peter.chen@nxp.com>2016-08-19 09:27:07 +0800
commitc4e94174983a86c935be1537a73e496b778b0287 (patch)
tree352061f2bb21d7c4ea8b2fa7c6f288b815a9abdd
parentf1f6d9a8b540df22b87a5bf6bc104edaade81f47 (diff)
usb: chipidea: udc: don't touch DP when controller is in host mode
When the controller is configured to be dual role and it's in host mode, if bind udc and gadgt driver, those gadget operations will do gadget disconnect and finally pull down DP line, which will break host function. Cc: <stable@vger.kernel.org> # 4.1+ Signed-off-by: Li Jun <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>