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>
This commit is contained in:
committed by
Daniel Walker
parent
b13525c263
commit
0aec66d493
@ -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
|
||||
|
Reference in New Issue
Block a user