summaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/gadget.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2020-03-31 16:10:03 +0800
committerFelipe Balbi <balbi@kernel.org>2020-05-25 11:09:37 +0300
commit160c163482974f4608c735b6a9745dd5140608df (patch)
tree78af9438ae518ecfb842d1fab012081649d4a8e4 /drivers/usb/cdns3/gadget.c
parent23d6dd6c2ab6e177bc9ac19cb2bad9b8d120353c (diff)
downloadlinux-160c163482974f4608c735b6a9745dd5140608df.tar.bz2
usb: cdns3: delete role_override
In short, we have three kinds of role switches: - Based on SoC: ID and VBUS - Based on external connnctor, eg, Type-C or GPIO Connector - Based on user choices through sysfs Since HW handling and usb-role-switch handling are at different places, we do not need role_override any more, and this flag could not judge external connector case well. With role_override deleted, We use cdns3_hw_role_switch for the 1st use case, and usb-role-switch for the 2nd and 3rd cases. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/gadget.c')
0 files changed, 0 insertions, 0 deletions