Skip to contentSkip to conversation

DSPBRIDGE: Fix wrong condition on NODE_GetUUIDProps

PATCH In review Omar Ramirez Luna 1 participant 2 messages Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DSPBRIDGE: Fix wrong condition on NODE_GetUUIDProps

Fix wrong condition because of a wrong patch included.

---
 drivers/dsp/bridge/rmgr/node.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/dsp/bridge/rmgr/node.c +1 -1
index 72c2411..e8ba0dd 100644
@@ -3252,7 +3252,7 @@ DSP_STATUS NODE_GetUUIDProps(DSP_HPROCESSOR hProcessor,
 		 pNodeId, pNodeProps);
 
 	status = PROC_GetDevObject(hProcessor, &hDevObject);
-	if (!hDevObject) {
+	if (hDevObject) {
 		status = DEV_GetNodeManager(hDevObject, &hNodeMgr);
 		if (hNodeMgr == NULL) {
 			status = DSP_EHANDLE;
Signature · 1 line
1.6.2.4
#1 lore raw
Quoted 6 lines

From: Ramirez Luna, Omar
Sent: Monday, January 18, 2010 7:58 PM
To: linux-omap
Cc: Ameya Palande; Hiroshi Doyu; Felipe Contreras; Menon, Nishanth; Ramirez Luna, Omar
Subject: [PATCH] DSPBRIDGE: Fix wrong condition on NODE_GetUUIDProps

Quoted 8 lines

Fix wrong condition because of a wrong patch included.

---
drivers/dsp/bridge/rmgr/node.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

As this a fix from a previous patch, pushed to dspbridge.

- omar