diff mbox

[RFC,v1,3/19] DSPBRIDGE: Cleanup custom error code (DSP_EFILE ->-ENOENT)

Message ID 19F8576C6E063C45BE387C64729E7394044DEBEE09@dbde02.ent.ti.com (mailing list archive)
State Accepted
Delegated to:
Headers show

Commit Message

Hebbar, Shivananda March 27, 2010, 2:27 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/plat-omap/include/dspbridge/errbase.h b/arch/arm/plat-omap/include/dspbridge/errbase.h
index 81fc1b1..30d13f9 100644
--- a/arch/arm/plat-omap/include/dspbridge/errbase.h
+++ b/arch/arm/plat-omap/include/dspbridge/errbase.h
@@ -90,9 +90,6 @@ 
 /* A general failure occurred */
 #define DSP_EFAIL                   (DSP_EBASE + 8)
 
-/* The specified executable file could not be found. */
-#define DSP_EFILE                   (DSP_EBASE + 9)
-
 /* The specified handle is invalid. */
 #define DSP_EHANDLE                 (DSP_EBASE + 0xa)
 
diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c
index d664f96..42f4734 100644
--- a/drivers/dsp/bridge/rmgr/proc.c
+++ b/drivers/dsp/bridge/rmgr/proc.c
@@ -239,7 +239,7 @@  static dsp_status get_exec_file(struct cfg_devnode *dev_node_obj,
 			return DSP_SOK;
 		}
 	}
-	return DSP_EFILE;
+	return -ENOENT;
 }
 
 /*