From: Tony LIU Date: Fri, 20 Jan 2012 03:14:54 +0000 (+0800) Subject: ENGR00172476 [USB Host]change the default wakeup value of RH X-Git-Tag: v3.0.35-fsl~1615 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=84602a7181163479678270ab1bad487198611275;p=karo-tx-linux.git ENGR00172476 [USB Host]change the default wakeup value of RH - change the default wakeup value of RH from enabled to disabled Signed-off-by: Tony LIU --- diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c index 8db08ba50921..d34e7deb8b24 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 Freescale Semiconductor, Inc. + * Copyright (C) 2011-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,6 +521,9 @@ 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 +