summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/proc_comm.h
diff options
context:
space:
mode:
authorDaniel Walker <c_dwalke@quicinc.com>2010-03-18 12:31:08 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 09:19:33 -0700
commit0aec66d493c1476daa88ec56b1076e51f1ceff0b (patch)
treefed44f8a6e89719dba16dd5a22978368c28394c9 /arch/arm/mach-msm/proc_comm.h
parentb13525c2637957a757709945fbc9bc8b1065d071 (diff)
downloadblackbird-op-linux-0aec66d493c1476daa88ec56b1076e51f1ceff0b.tar.gz
blackbird-op-linux-0aec66d493c1476daa88ec56b1076e51f1ceff0b.zip
arm: msm: smd: fix SMD modem processor sync condition
When booting up we need to wait for the modem processor to partially boot. This is because the modem processor does resource allocation for us. If we don't wait the modem won't honor our requests and we end up crashing or in an unknown state. This change just formalizes the waiting process. Signed-off-by: Daniel Walker <c_dwalke@quicinc.com>
Diffstat (limited to 'arch/arm/mach-msm/proc_comm.h')
-rw-r--r--arch/arm/mach-msm/proc_comm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/proc_comm.h b/arch/arm/mach-msm/proc_comm.h
index 0f5cdd345eb7..12da4cacd4a8 100644
--- a/arch/arm/mach-msm/proc_comm.h
+++ b/arch/arm/mach-msm/proc_comm.h
@@ -16,6 +16,8 @@
#ifndef _ARCH_ARM_MACH_MSM_PROC_COMM_H_
#define _ARCH_ARM_MACH_MSM_PROC_COMM_H_
+#include <linux/init.h>
+
enum {
PCOM_CMD_IDLE = 0x0,
PCOM_CMD_DONE,
@@ -251,5 +253,6 @@ enum {
(((drvstr) & 0xF) << 17))
int msm_proc_comm(unsigned cmd, unsigned *data1, unsigned *data2);
+void __init proc_comm_boot_wait(void);
#endif
OpenPOWER on IntegriCloud