]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00172476 [USB Host]change the default wakeup value of RH
authorTony LIU <junjie.liu@freescale.com>
Fri, 20 Jan 2012 03:14:54 +0000 (11:14 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:50 +0000 (08:33 +0200)
- change the default wakeup value of RH from enabled to disabled

Signed-off-by: Tony LIU <junjie.liu@freescale.com>
drivers/usb/host/ehci-arc.c

index 8db08ba50921a9e5573a7cf42d5b87d7d8d8dd41..d34e7deb8b24a75e0836b28d3deb4e6c0e1eb4c7 100755 (executable)
@@ -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 +