- usb-get-usb-suspend-to-work-again.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     USB: get USB suspend to work again

has been removed from the -mm tree.  Its filename is

     usb-get-usb-suspend-to-work-again.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: USB: get USB suspend to work again
From: Greg KH <greg@xxxxxxxxx>


Yeah, it's a hack, but it is only temporary until Alan's patches reworking
this area make it in.  We really should not care what devices below us are
doing, especially when we do not really know what type of devices they are.
 This patch relies on the fact that the endpoint devices do not have a
driver assigned to us.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/usb/core/usb.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/usb/core/usb.c~usb-get-usb-suspend-to-work-again drivers/usb/core/usb.c
--- a/drivers/usb/core/usb.c~usb-get-usb-suspend-to-work-again
+++ a/drivers/usb/core/usb.c
@@ -991,6 +991,8 @@ void usb_buffer_unmap_sg (struct usb_dev
 
 static int verify_suspended(struct device *dev, void *unused)
 {
+	if (dev->driver == NULL)
+		return 0;
 	return (dev->power.power_state.event == PM_EVENT_ON) ? -EBUSY : 0;
 }
 
_

Patches currently in -mm which might be from greg@xxxxxxxxx are

origin.patch
i2c-mpc-fix-up-error-handling.patch
i2c-801-64bit-resource-fix.patch
git-gfs2.patch
revert-gregkh-pci-pci-test-that-drivers-properly-call-pci_set_master.patch
64-bit-resources-kconfig-change.patch
64-bit-resources-lose-some-ifdefs.patch
bugfix-pci-legacy-i-o-port-free-driver.patch
gregkh-pci-acpiphp-configure-_prt-v3-cleanup.patch
clear-abnormal-poweroff-flag-on-via-southbridges-fix-resume.patch
clear-abnormal-poweroff-flag-on-via-southbridges-fix-resume-fix.patch
insert-identical-resources-above-existing-resources.patch
usb-move-linux-usb_input.h-to-linux-usb-input-fix.patch
fix-sco-on-some-bluetooth-adapters-2.patch
ehci-fix-bogus-alteration-of-a-local-variable.patch
ipaqc-bugfixes.patch
ipaqc-timing-parameters.patch
ipaqc-timing-parameters-fix.patch
if-0-drivers-usb-input-hid-corechid_find_field_by_usage.patch
make-sure-nobodys-leaking-resources.patch
cleanup-default-value-of-usb_isp116x_hcd-usb_sl811_hcd-and-usb_sl811_cs.patch
connector-exports.patch
config_net=n-build-fix.patch
fix-broken-dubious-driver-suspend-methods.patch
irda-usb-printk-fix.patch
drivers-use-list_move.patch
chardev-gpio-for-scx200-pc-8736x-add-platforn_device.patch
chardev-gpio-for-scx200-pc-8736x-add-platform_device.patch
vt-binding-add-sysfs-control-to-the-vt-layer.patch
vt-binding-add-sysfs-control-to-the-vt-layer-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux