Replace DSP_EDCDPARSESECT with EACCES Signed-off-by: Omar Ramirez Luna <omar.ramirez@xxxxxx> --- arch/arm/plat-omap/include/dspbridge/dbdcd.h | 2 +- drivers/dsp/bridge/rmgr/dbdcd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/dspbridge/dbdcd.h b/arch/arm/plat-omap/include/dspbridge/dbdcd.h index e615c8a..2a43d6e 100644 --- a/arch/arm/plat-omap/include/dspbridge/dbdcd.h +++ b/arch/arm/plat-omap/include/dspbridge/dbdcd.h @@ -255,7 +255,7 @@ extern dsp_status dcd_get_library_name(IN struct dcd_manager *hdcd_mgr, * union of various possible DCD object types. * Returns: * 0: Success. - * DSP_EDCDPARSESECT: Unable to parse content of object code section. + * -EACCES: Unable to parse content of object code section. * DSP_EDCDREADSECT: Unable to read object code section. * -EACCES: Unable to access object code section. * -EACCES: Unable to load code base. diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index a3d79ba..5592033 100644 --- a/drivers/dsp/bridge/rmgr/dbdcd.c +++ b/drivers/dsp/bridge/rmgr/dbdcd.c @@ -516,7 +516,7 @@ dsp_status dcd_get_object_def(IN struct dcd_manager *hdcd_mgr, status = get_attrs_from_buf(psz_coff_buf, ul_len, obj_type, pObjDef); if (DSP_FAILED(status)) - status = DSP_EDCDPARSESECT; + status = -EACCES; } else { status = DSP_EDCDREADSECT; } -- 1.7.1 -- 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