From a9b659549639b99252363deb2b52c32c52935476 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Mon, 18 Oct 2010 20:01:26 -0700 Subject: [PATCH] mdm6600: Suspend the bus immediately after the modem Since the modem is the only device connected to the bus, the bus may be suspended immediately after the modem. Change-Id: I3ce209d84c3920b34543a65f9ac079c07d45572a Signed-off-by: Benoit Goby --- drivers/usb/serial/mdm6600.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/mdm6600.c b/drivers/usb/serial/mdm6600.c index 65de8551404d..9420131b88e5 100644 --- a/drivers/usb/serial/mdm6600.c +++ b/drivers/usb/serial/mdm6600.c @@ -239,6 +239,7 @@ static int mdm6600_attach(struct usb_serial *serial) device_init_wakeup(&serial->dev->dev, 1); serial->interface->needs_remote_wakeup = 1; serial->dev->autosuspend_delay = MODEM_AUTOSUSPEND_DELAY; + serial->dev->parent->autosuspend_delay = 0; return 0; } -- 2.34.1