[RESEND][PATCH 1/5][omapzoom] BRIDGE: Fix bug in HW Mailbox messaging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Suman Anna <s-anna@xxxxxx>
Date: Fri, 10 Oct 2008 21:06:52 -0500
Subject: [PATCH] BRIDGE: Fix bug in HW Mailbox messaging

Complement should apply to the whole expression for
irqDisableReg

Signed-off-by: Suman Anna <s-anna@xxxxxx>
---
 drivers/dsp/bridge/hw/hw_mbox.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/hw/hw_mbox.c b/drivers/dsp/bridge/hw/hw_mbox.c
index 7055259..cc7ea0b 100644
--- a/drivers/dsp/bridge/hw/hw_mbox.c
+++ b/drivers/dsp/bridge/hw/hw_mbox.c
@@ -215,8 +215,8 @@ HW_STATUS HW_MBOX_EventDisable(const u32 baseAddress,
 		    (u32)userId);
 
 	/* update enable value */
-	irqDisableReg &= ~((u32)(events)) << (((u32)(mailBoxId)) *
-		     HW_MBOX_ID_WIDTH);
+	irqDisableReg &= ~(((u32)(events)) << (((u32)(mailBoxId)) *
+		     HW_MBOX_ID_WIDTH));
 
 	/* write new enable status */
 	MLBMAILBOX_IRQENABLE___0_3WriteRegister32(baseAddress, (u32)userId,
-- 
1.6.0
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux