misc: tegra: Disable short delay if wake gpio not defined.
authorglei <glei@nvidia.com>
Wed, 9 Oct 2013 06:03:07 +0000 (14:03 +0800)
committerSteve Lin <stlin@nvidia.com>
Wed, 23 Oct 2013 23:44:46 +0000 (16:44 -0700)
commit8214e605bbfbe94060b12a191a478e19c878e4df
treed5657f37ea733a54a9915e1787486fb9b4d641aa
parent410ae54bf080136960486f3832b31e6f9e7a1266
misc: tegra: Disable short delay if wake gpio not defined.

Disable short_autosuspend_delay for Modem device, when wake gpio
is not used.

Bug 1362837

Change-Id: Iadcd28ba432846aeed636d453208d3f954aaf065
Signed-off-by: glei <glei@nvidia.com>
Reviewed-on: http://git-master/r/283833
(cherry picked from commit dc8d4213de17f27a8440dc87ce8bec0623048147)
Reviewed-on: http://git-master/r/302954
Reviewed-by: Neil Patel <neilp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Neil Patel <neilp@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
drivers/misc/tegra-baseband/tegra_usb_modem_power.c