summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pdc_adma.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-04-28 17:06:11 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-22 00:15:47 +0200
commitb01b03f3ad82b4293f6ca4da9b2692b6a377c609 (patch)
tree9d3ab94600f6fa0491256ab1ac0fd824e55ee880 /drivers/ata/pdc_adma.c
parentUSB: use get_unaligned_* helpers for kl5kusb105 driver (diff)
downloadlinux-b01b03f3ad82b4293f6ca4da9b2692b6a377c609.tar.xz
linux-b01b03f3ad82b4293f6ca4da9b2692b6a377c609.zip
USB: add new routine for checking port-resume type
This patch (as1070) creates a new subroutine to check whether a device can be resumed. This code is needed even when CONFIG_USB_SUSPEND isn't set, because devices do suspend themselves when the root hub (and hence the entire bus) is suspended, and power sessions can get lost during a system sleep even without individual port suspends. The patch also fixes a loose end in USB-Persist reset-resume handling. When a low- or full-speed device is attached to an EHCI's companion controller, the port handoff during resume will cause the companion port's connect-status-change feature to be set. If that flag isn't cleared, the port-reset code will think it indicates that the device has been unplugged and the reset-resume will fail. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
0 files changed, 0 insertions, 0 deletions