diff mbox

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

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

Commit Message

Hebbar, Shivananda March 25, 2010, 8:06 p.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..b154102 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;
 }
 
 /*