diff options
author | Tony LIU <junjie.liu@freescale.com> | 2012-01-20 11:14:54 +0800 |
---|---|---|
committer | Tony LIU <junjie.liu@freescale.com> | 2012-01-30 10:14:39 +0800 |
commit | e5c4318450e1fe7c61950214e779658c6cea0da7 (patch) | |
tree | faad221783a0b8a4c9b6502dc65ff38397e86ee9 /drivers/usb | |
parent | c843da9fe31c74ef5552b19f9effd3a033bf5f77 (diff) |
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 <junjie.liu@freescale.com>
Diffstat (limited to 'drivers/usb')
-rwxr-xr-x | drivers/usb/host/ehci-arc.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 + |