linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [OMAPZOOM][PATCH 3/3] DSPBRIDGE: changed mail box timeout to avoid losing messages.
@ 2009-03-23 21:32 Guzman Lugo, Fernando
  0 siblings, 0 replies; 2+ messages in thread
From: Guzman Lugo, Fernando @ 2009-03-23 21:32 UTC (permalink / raw)
  To: Pandita, Vikram, Aguilar Pena, Leed; +Cc: linux-omap


Hi,
	I forget to mention that this is Felipe Contreras' patch which the patch is base on: http://www.mail-archive.com/linux-omap@vger.kernel.org/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: linux-omap@vger.kernel.org
Subject: [OMAPZOOM][PATCH 3/3] DSPBRIDGE: changed mail box timeout to avoid losing messages.

From: Fernando Guzman Lugo <x0095840@ti.com>
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 <x0095840@ti.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [OMAPZOOM][PATCH 3/3] DSPBRIDGE: changed mail box timeout to avoid losing messages.
@ 2009-03-23 21:06 Guzman Lugo, Fernando
  0 siblings, 0 replies; 2+ messages in thread
From: Guzman Lugo, Fernando @ 2009-03-23 21:06 UTC (permalink / raw)
  To: Pandita, Vikram, Aguilar Pena, Leed; +Cc: linux-omap

From: Fernando Guzman Lugo <x0095840@ti.com>
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 <x0095840@ti.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-23 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 21:32 [OMAPZOOM][PATCH 3/3] DSPBRIDGE: changed mail box timeout to avoid losing messages Guzman Lugo, Fernando
  -- strict thread matches above, loose matches on Subject: below --
2009-03-23 21:06 Guzman Lugo, Fernando

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).