USB: support otg_id irq wakeup system.
authorwlf <wulf@rock-chips.com>
Thu, 12 Jun 2014 01:54:46 +0000 (09:54 +0800)
committerwlf <wulf@rock-chips.com>
Thu, 12 Jun 2014 01:54:46 +0000 (09:54 +0800)
drivers/usb/dwc_otg_310/usbdev_rk32.c

index 83167500d7cccf4c4e9db2c9069a24d764311328..426ba0673e7e7de058aa36450f8b99ea7c3c392c 100755 (executable)
@@ -736,7 +736,7 @@ static int otg_irq_detect_init(struct platform_device *pdev)
                                enable_irq_wake(irq);
                }
        }
-#if 0
+
        /*register otg_id irq */
        irq = platform_get_irq_byname(pdev, "otg_id");
        if (irq > 0) {
@@ -750,7 +750,7 @@ static int otg_irq_detect_init(struct platform_device *pdev)
                                enable_irq_wake(irq);
                }
        }
-
+#if 0
        /*register otg_linestate irq */
        irq = platform_get_irq_byname(pdev, "otg_linestate");
        if (irq > 0) {