mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
|
From ec61075a786c455444a1d5df338a41bacfce0bb1 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:
|