From: Benoit Goby Date: Tue, 19 Oct 2010 03:01:26 +0000 (-0700) Subject: mdm6600: Suspend the bus immediately after the modem X-Git-Tag: firefly_0821_release~9834^2~432 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a9b659549639b99252363deb2b52c32c52935476;p=firefly-linux-kernel-4.4.55.git 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 --- 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; }