forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/usb/host/ehci-q.c
....@@ -256,12 +256,12 @@
256256 }
257257
258258 if (unlikely(urb->unlinked)) {
259
- COUNT(ehci->stats.unlink);
259
+ INCR(ehci->stats.unlink);
260260 } else {
261261 /* report non-error and short read status as zero */
262262 if (status == -EINPROGRESS || status == -EREMOTEIO)
263263 status = 0;
264
- COUNT(ehci->stats.complete);
264
+ INCR(ehci->stats.complete);
265265 }
266266
267267 #ifdef EHCI_URB_TRACE
....@@ -874,7 +874,7 @@
874874 switch (urb->dev->speed) {
875875 case USB_SPEED_LOW:
876876 info1 |= QH_LOW_SPEED;
877
- /* FALL THROUGH */
877
+ fallthrough;
878878
879879 case USB_SPEED_FULL:
880880 /* EPS 0 means "full" */