msm: pil-q6v5-lpass: Add missing proxy timeout value
A proxy timeout was not specified, resulting in the votes being
asserted for about '0' ms. Fix this by specifying a timeout of
10 seconds to allow the Q6 to boot and assert its own resource
votes before the proxy votes are removed.
Change-Id: I1d773a4534ec4ac27e41eaf7663eaa202a494c45
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/pil-q6v5-lpass.c b/arch/arm/mach-msm/pil-q6v5-lpass.c
index e5e176b..311f8a7 100644
--- a/arch/arm/mach-msm/pil-q6v5-lpass.c
+++ b/arch/arm/mach-msm/pil-q6v5-lpass.c
@@ -23,6 +23,7 @@
#include "pil-q6v5.h"
#define QDSP6SS_RST_EVB 0x010
+#define PROXY_TIMEOUT_MS 10000
static int pil_lpass_shutdown(struct pil_desc *pil)
{
@@ -93,6 +94,7 @@
desc->ops = &pil_lpass_ops;
desc->owner = THIS_MODULE;
+ desc->proxy_timeout = PROXY_TIMEOUT_MS;
drv->pil = msm_pil_register(desc);
if (IS_ERR(drv->pil))