ehci_bus_suspend system halt

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

 



Hi Alan

we are working on a samsung exysnos5430 device and we have some problem
during suspend. The only way to solve it seems this patch.
We don't really know what could be the problem. Do you have any suggestion
to debug it?

diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
index c254076..6b01784 100644
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
@@ -289,14 +289,6 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
 
 		if (t1 != t2) {
 			/*
+			 * When suspend bit for PORT 1 is set,
+			 * system halts when spin_unlock_irq()
+			 * called---> why????
+			 */
+			if (port == 0 && (t1 & 0x01)) {
+				t2 &= ~PORT_SUSPEND;
+			}
+			/*
 			 * On some controllers, Wake-On-Disconnect will
 			 * generate false wakeup signals until the bus
 			 * switches over to full-speed idle.  For their
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux