[COMMON] usb: dwc3: prevent fix - 233994
authortaehyun.cho <taehyun.cho@samsung.com>
Thu, 11 Oct 2018 01:41:14 +0000 (10:41 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:05 +0000 (20:23 +0300)
Change-Id: I35d97f5fb2829ec1846ae36f6d6a35f44719a6cd
Signed-off-by: taehyun.cho <taehyun.cho@samsung.com>
drivers/usb/dwc3/core.c

index 80deef80c2091e6015452ce9bc1f01b13ae79a4f..d66dbec35c9445afc31b4a3fe47cddc70a750882 100644 (file)
@@ -958,7 +958,7 @@ static int dwc3_core_ulpi_init(struct dwc3 *dwc);
  */
 int dwc3_core_init(struct dwc3 *dwc)
 {
-       u32                     reg;
+       u32                     reg = 0;
        struct dwc3_otg         *dotg = dwc->dotg;
        int                     ret;