forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/usb/phy/phy-isp1301-omap.c
....@@ -581,11 +581,11 @@
581581 /* HNP failed for some reason (A_AIDL_BDIS timeout) */
582582 notresponding(isp);
583583
584
- /* FALLTHROUGH */
584
+ fallthrough;
585585 case OTG_STATE_A_VBUS_ERR:
586586 isp->phy.otg->state = OTG_STATE_A_WAIT_VFALL;
587587 pr_debug(" --> a_wait_vfall\n");
588
- /* FALLTHROUGH */
588
+ fallthrough;
589589 case OTG_STATE_A_WAIT_VFALL:
590590 /* FIXME usbcore thinks port power is still on ... */
591591 clr |= OTG1_VBUS_DRV;
....@@ -595,7 +595,7 @@
595595 isp->phy.otg->state = OTG_STATE_A_WAIT_VRISE;
596596 pr_debug(" --> a_wait_vrise\n");
597597 }
598
- /* FALLTHROUGH */
598
+ fallthrough;
599599 default:
600600 toggle(OTG_DRV_VBUS, OTG1_VBUS_DRV);
601601 }
....@@ -945,10 +945,10 @@
945945 switch (state) {
946946 case OTG_STATE_B_IDLE:
947947 a_idle(isp, "idle");
948
- /* FALLTHROUGH */
948
+ fallthrough;
949949 case OTG_STATE_A_IDLE:
950950 enable_vbus_source(isp);
951
- /* FALLTHROUGH */
951
+ fallthrough;
952952 case OTG_STATE_A_WAIT_VRISE:
953953 /* we skip over OTG_STATE_A_WAIT_BCON, since
954954 * the HC will transition to A_HOST (or
....@@ -1032,12 +1032,12 @@
10321032 OTG1_DP_PULLUP);
10331033 dump_regs(isp, __func__);
10341034 #endif
1035
- /* FALLTHROUGH */
1035
+ fallthrough;
10361036 case OTG_STATE_B_SRP_INIT:
10371037 b_idle(isp, __func__);
10381038 l = omap_readl(OTG_CTRL) & OTG_XCEIV_OUTPUTS;
10391039 omap_writel(l, OTG_CTRL);
1040
- /* FALLTHROUGH */
1040
+ fallthrough;
10411041 case OTG_STATE_B_IDLE:
10421042 if (otg->gadget && (isp_bstat & OTG_B_SESS_VLD)) {
10431043 #ifdef CONFIG_USB_OTG