Commits
Peter Chen committed 488c3aa3a19
MLK-16285-4 usb: cdns3: change controller role state machine Since the USB Type-C port only has two data roles, host and device, the controller driver can only receive above two events, it can't remain 'disconnection' state alone at controller driver due to there is no such event from Type-C. Due to above, we delete the controller state "CDNS3_ROLE_END" which stands for 'disconnection' state before. Instead, when we use "CDNS3_ROLE_GADGET" stands for it, and this state is the default state for controller. Signed-off-by: Peter Chen <peter.chen@nxp.com> Acked-by: Li Jun <jun.li@nxp.com> (cherry picked from commit cb3c8642c42582aa192bba90656646f3e1986594)