summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/baseband-xmm-power.h
diff options
context:
space:
mode:
authorVinayak Pane <vpane@nvidia.com>2012-05-15 15:38:37 -0700
committerSimone Willett <swillett@nvidia.com>2012-06-04 17:38:23 -0700
commitc98dede36510e1d5329b26cba5be005b52978971 (patch)
treed914a25dc261ac69df4ebdb0c47c5c47afba6f0d /arch/arm/mach-tegra/baseband-xmm-power.h
parentde263f6e253976d8371da7e7b7089f1d9b79e92b (diff)
arm: tegra: xmm: changing mdelay and add wait_event
baseband_xmm_power has delays related to CP sync-up. Changing these delays from mdelay() to msleep and usleep_range. Adding wait_event mechanism to wait for L2->L0 Bug 932574 Change-Id: Ie33a3f1cc0a798e592f00153435b0135713213ea Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/102689 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/baseband-xmm-power.h')
-rw-r--r--arch/arm/mach-tegra/baseband-xmm-power.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/baseband-xmm-power.h b/arch/arm/mach-tegra/baseband-xmm-power.h
index 1f08e3b6900c..69140891319d 100644
--- a/arch/arm/mach-tegra/baseband-xmm-power.h
+++ b/arch/arm/mach-tegra/baseband-xmm-power.h
@@ -84,6 +84,9 @@ struct xmm_power_data {
struct baseband_power_platform_data *pdata;
struct work_struct work;
struct platform_device *hsic_device;
+ wait_queue_head_t bb_wait;
+ /* host wakeup gpio state*/
+ unsigned int hostwake;
};
enum baseband_xmm_powerstate_t {