forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/usb/musb/cppi_dma.c
....@@ -975,7 +975,7 @@
975975 musb_dbg(musb, "%cX DMA%d not allocated!",
976976 cppi_ch->transmit ? 'T' : 'R',
977977 cppi_ch->index);
978
- /* FALLTHROUGH */
978
+ fallthrough;
979979 case MUSB_DMA_STATUS_FREE:
980980 break;
981981 }
....@@ -1146,7 +1146,7 @@
11461146 struct musb_hw_ep *hw_ep = NULL;
11471147 u32 rx, tx;
11481148 int i, index;
1149
- unsigned long uninitialized_var(flags);
1149
+ unsigned long flags;
11501150
11511151 cppi = container_of(musb->dma_controller, struct cppi, controller);
11521152 if (cppi->irq)