From eb666b4a427f3013af152936914a748079cce541 Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Thu, 9 Feb 2012 17:07:44 +0800 Subject: [PATCH] ENGR00174124: Revert "[USB Host]change the default wakeup value of RH" 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 --- drivers/usb/host/ehci-arc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c index 39d288db7eb1..99ba497f5f5a 100755 --- a/drivers/usb/host/ehci-arc.c +++ b/drivers/usb/host/ehci-arc.c @@ -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 + -- 2.39.5