>From abf0989e50ae07724253136d88a6b679f8f1da39 Mon Sep 17 00:00:00 2001 From: Shivananda Hebbar <x0hebbar@xxxxxx> Date: Tue, 23 Mar 2010 09:32:41 -0600 Subject: [PATCH] DSPBRIDGE: Cleanup custom error code (DSP_EFILE ->-ENOENT) This patch replaces error code DSP_EFILE with -ENOENT. Signed-off-by: Shivananda Hebbar <x0hebbar@xxxxxx> --- arch/arm/plat-omap/include/dspbridge/errbase.h | 3 --- drivers/dsp/bridge/rmgr/proc.c | 2 +- 2 files changed, 1 insertions(+), 4 deletions(-) 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; } /* -- 1.6.0.4 -- 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