06 Jan, 2017

1 commit

  • commit ccdb6be9ec6580ef69f68949ebe26e0fb58a6fb0 upstream.

    The UHCI controllers in Intel chipsets rely on a platform-specific non-PME
    mechanism for wakeup signalling. They can generate wakeup signals even
    though they don't support PME.

    We need to let the USB core know this so that it will enable runtime
    suspend for UHCI controllers.

    Signed-off-by: Alan Stern
    Signed-off-by: Bjorn Helgaas
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

05 Dec, 2013

1 commit


20 Oct, 2013

1 commit

  • hcd-pci.c in usbcore contains a check for wakeup requests racing with
    controller suspend. This check is going to be moved out of usbcore
    and into the individual controller drivers, where it can apply to all
    platforms, not just PCI.

    This patch adds the check to uhci-hcd. Ironically, none of the
    non-PCI platform drivers for uhci-hcd implement suspend/resume.
    Nevertheless, this change is needed to accomodate the upcoming change
    to usbcore.

    The patch also removes an outdated check of the root hub state. For
    one thing, the PM layer has long been quite reliable about suspending
    root hubs before controllers. For another, virtually the same check
    is also made in hcd-pci.c; there's no point in repeating it.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

12 Oct, 2013

1 commit


30 Sep, 2013

1 commit


26 Sep, 2013

2 commits

  • Support for specifying soft dependencies in the modules themselves was
    introduced in commit 7cb14ba.

    In Arch we have always been shipping a module.d(5) fragment ordering ohci/uhci
    after ehci. If this ordering is really necessary, it would be great to move it
    to the kernel and getting the correct fragment generated by depmod.

    Signed-off-by: Tom Gundersen
    Cc: Alan Stern
    Cc: Greg Kroah-Hartman
    Signed-off-by: Greg Kroah-Hartman

    Tom Gundersen
     
  • Since uhci-hcd, ehci-hcd, and xhci-hcd support runtime PM, the .pm
    field in their pci_driver structures should be protected by CONFIG_PM
    rather than CONFIG_PM_SLEEP. The corresponding change has already
    been made for ohci-hcd.

    Without this change, controllers won't do runtime suspend if system
    suspend or hibernation isn't enabled.

    Signed-off-by: Alan Stern
    CC: Sarah Sharp
    CC:
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

07 May, 2011

1 commit

  • This patch is part of a series that extend the UHCI HCD to support
    non-PCI controllers.

    This patch moves PCI specific functions to uhci-pci.c and includes
    this file in uhci-hcd.c. It also renames the function uhci_init to
    uhci_pci_init.

    uhci_init/uhci_pci_init is modified so that the port-detection logic
    is kept in a new separate function uhci_count_ports() in uhci-hcd.c.

    Signed-off-by: Jan Andersson
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Jan Andersson