#define GINTMSK_COMMON (GINTSTS_WKUPINT | GINTSTS_SESSREQINT |         \
                         GINTSTS_CONIDSTSCHNG | GINTSTS_OTGINT |        \
                         GINTSTS_MODEMIS | GINTSTS_DISCONNINT |         \
-                        GINTSTS_USBSUSP | GINTSTS_RESTOREDONE |        \
-                        GINTSTS_PRTINT)
+                        GINTSTS_USBSUSP | GINTSTS_PRTINT)
 
 /*
  * This function returns the Core Interrupt register
        if (gintsts & GINTSTS_USBSUSP)
                dwc2_handle_usb_suspend_intr(hsotg);
 
-       if (gintsts & GINTSTS_RESTOREDONE) {
-               gintsts = GINTSTS_RESTOREDONE;
-               writel(gintsts, hsotg->regs + GINTSTS);
-               dev_dbg(hsotg->dev, " --Restore done interrupt received--\n");
-       }
-
        if (gintsts & GINTSTS_PRTINT) {
                /*
                 * The port interrupt occurs while in device mode with HPRT0
 
                        dwc2_rx_fifo_level_intr(hsotg);
                if (gintsts & GINTSTS_NPTXFEMP)
                        dwc2_np_tx_fifo_empty_intr(hsotg);
-               if (gintsts & GINTSTS_I2CINT)
-                       /* Todo: Implement i2cintr handler */
-                       writel(GINTSTS_I2CINT, hsotg->regs + GINTSTS);
                if (gintsts & GINTSTS_PRTINT)
                        dwc2_port_intr(hsotg);
                if (gintsts & GINTSTS_HCHINT)