misc: tegra-baseband: disable short autosuspend
Martin Chi [Tue, 11 Feb 2014 14:03:18 +0000 (22:03 +0800)]
bug 1451863

Change-Id: Ic0e3ef507a271d9a08b20f4cad07b2fed545a652
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/366010

drivers/misc/tegra-baseband/tegra_usb_modem_power.c

index 0bb6ef7..3be7f84 100644 (file)
@@ -389,15 +389,6 @@ static int mdm_pm_notifier(struct notifier_block *notifier,
                }
 
                modem->system_suspend = 1;
-#ifdef CONFIG_PM
-               if (modem->capability & TEGRA_MODEM_AUTOSUSPEND &&
-                   modem->udev &&
-                   modem->udev->state != USB_STATE_NOTATTACHED) {
-                       pm_runtime_set_autosuspend_delay(&modem->udev->dev,
-                                       modem->pdata->short_autosuspend_delay);
-                       modem->short_autosuspend_enabled = 1;
-               }
-#endif
                mutex_unlock(&modem->lock);
                return NOTIFY_OK;
        case PM_POST_SUSPEND: