mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
32 lines
1 KiB
Diff
32 lines
1 KiB
Diff
From 708852ba1eaa0ac30fbf7298ab3db4366accc305 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Winkowski <dereference23@outlook.com>
|
|
Date: Mon, 3 Jul 2023 18:23:02 +0000
|
|
Subject: [PATCH] drivers: dwc_otg: Fix fallthrough warnings
|
|
|
|
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
|
|
---
|
|
drivers/usb/host/dwc_otg/dwc_otg_hcd.c | 1 +
|
|
drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd.c
|
|
+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd.c
|
|
@@ -2049,6 +2049,7 @@ int fiq_fsm_queue_split_transaction(dwc_
|
|
} else {
|
|
st->fsm = FIQ_PER_SSPLIT_QUEUED;
|
|
}
|
|
+ break;
|
|
default:
|
|
break;
|
|
}
|
|
--- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
|
|
+++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
|
|
@@ -402,7 +402,7 @@ int32_t dwc_otg_hcd_handle_rx_status_q_l
|
|
hc->xfer_count += grxsts.b.bcnt;
|
|
hc->xfer_buff += grxsts.b.bcnt;
|
|
}
|
|
-
|
|
+ break;
|
|
case DWC_GRXSTS_PKTSTS_IN_XFER_COMP:
|
|
case DWC_GRXSTS_PKTSTS_DATA_TOGGLE_ERR:
|
|
case DWC_GRXSTS_PKTSTS_CH_HALTED:
|