diff options
author | 2010-05-11 11:44:06 -0400 | |
---|---|---|
committer | 2010-05-20 13:21:45 -0700 | |
commit | 89842ae6515c49405e20c0629a6442b6885ad49d (patch) | |
tree | aab7bc2ef74ffaf607ac1bcc5d2dbbfbc94eb13e /drivers/usb/host/ehci-hub.c | |
parent | USB: xHCI: Fix wrong usage of macro TRB_TYPE (diff) | |
download | linux-dev-89842ae6515c49405e20c0629a6442b6885ad49d.tar.xz linux-dev-89842ae6515c49405e20c0629a6442b6885ad49d.zip |
USB: fix interface runtime-PM settings
This patch (as1379) reworks the logic for handling USB interface
runtime-PM settings -- hopefully it's right this time! The problem is
that when a driver is unbound or binding fails, runtime PM for the
interface always gets disabled. But pm_runtime_disable() nests, so it
shouldn't be called unless the interface was previously enabled for
runtime PM.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Rob Duncan <Robert.Duncan@exar.com>
Tested-by: Rob Duncan <Robert.Duncan@exar.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
0 files changed, 0 insertions, 0 deletions