Hi,
I forget to mention that this is Felipe Contreras' patch which the
patch is base on:
http://www.mail-archive.com/[email protected]/msg11054.html
Regards,
Fernando.
-----Original Message-----
From: Guzman Lugo, Fernando
Sent: Monday, March 23, 2009 3:06 PM
To: Pandita, Vikram; Aguilar Pena, Leed
Cc: [email protected]
Subject: [OMAPZOOM][PATCH 3/3] DSPBRIDGE: changed mail box timeout to avoid
losing messages.
From: Fernando Guzman Lugo <[email protected]>
Date: Mon, 23 Mar 2009 13:30:36 -0500
Subject: [PATCH] DSPBRIDGE: changed mail box timeout to avoid losing messages.
This patch is based on Felipe Contreras patch, but chanegd the mail box
timeout to 35ms to avoid losing messages.
Signed-off-by: Fernando Guzman Lugo <[email protected]>
---
drivers/dsp/bridge/wmd/tiomap_sm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dsp/bridge/wmd/tiomap_sm.c
b/drivers/dsp/bridge/wmd/tiomap_sm.c
index 91930a8..c536f4d 100755
--- a/drivers/dsp/bridge/wmd/tiomap_sm.c
+++ b/drivers/dsp/bridge/wmd/tiomap_sm.c
@@ -168,7 +168,7 @@ DSP_STATUS CHNLSM_InterruptDSP2(struct WMD_DEV_CONTEXT
*pDevContext,
pDevContext->dwBrdState = BRD_RUNNING;
}
- timeout = jiffies + msecs_to_jiffies(10);
+ timeout = jiffies + msecs_to_jiffies(35);
while (HW_MBOX_IsFull(resources.dwMboxBase, MBOX_ARM2DSP)) {
if (time_after(jiffies, timeout)) {
printk(KERN_ERR "dspbridge: "
--
1.5.6.4
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html