]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00174124: Revert "[USB Host]change the default wakeup value of RH"
authorPeter Chen <peter.chen@freescale.com>
Thu, 9 Feb 2012 09:07:44 +0000 (17:07 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:58 +0000 (08:33 +0200)
This patch creates two bugs at current i.mx usb framework.
- The high speed device can't be recognized at the first time.
- The usb device can't be recognized after system resume with
usb vbus.

The reason why it creates bugs that it changes (auto)suspend/resume
process for usb core.

This reverts commit e5c4318450e1fe7c61950214e779658c6cea0da7.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/host/ehci-arc.c

index 39d288db7eb133a69e62e699d00af2c70aca0a03..99ba497f5f5a2f7efc7d61d9b1e721d5fab01ac5 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2005 MontaVista Software
- * Copyright (C) 2011-2012 Freescale Semiconductor, Inc.
+ * Copyright (C) 2012 Freescale Semiconductor, Inc.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
@@ -521,9 +521,6 @@ static int ehci_fsl_setup(struct usb_hcd *hcd)
        struct ehci_hcd *ehci = hcd_to_ehci(hcd);
        int retval;
 
-       /* overwrite the default wakeup strategy */
-       device_set_wakeup_enable(&hcd->self.root_hub->dev, false);
-
        /* EHCI registers start at offset 0x100 */
        ehci->caps = hcd->regs + 0x100;
        ehci->regs = hcd->regs + 0x100 +