Replace DSP_ECHANGEDURINGENUM with EIDRM Signed-off-by: Omar Ramirez Luna <omar.ramirez@xxxxxx> --- arch/arm/plat-omap/include/dspbridge/mgr.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/mgr.h b/arch/arm/plat-omap/include/dspbridge/mgr.h index 378afe4..942797d 100644 --- a/arch/arm/plat-omap/include/dspbridge/mgr.h +++ b/arch/arm/plat-omap/include/dspbridge/mgr.h @@ -104,7 +104,7 @@ extern dsp_status mgr_destroy(struct mgr_object *hmgr_obj); * 0: Success. * -EINVAL: Parameter node_id is > than the number of nodes. * configutred in the system - * DSP_ECHANGEDURINGENUM: During Enumeration there has been a change in + * -EIDRM: During Enumeration there has been a change in * the number of nodes configured or in the * the properties of the enumerated nodes. * -EPERM: Failed to querry the Node Data Base diff --git a/drivers/dsp/bridge/rmgr/dbdcd.c b/drivers/dsp/bridge/rmgr/dbdcd.c index c9dba67..d5b0bce 100644 --- a/drivers/dsp/bridge/rmgr/dbdcd.c +++ b/drivers/dsp/bridge/rmgr/dbdcd.c @@ -217,7 +217,7 @@ dsp_status dcd_enumerate_object(IN s32 cIndex, IN enum dsp_dcdobjtype obj_type, * than zero, then the current enum_refs must have been * incremented to greater than zero. */ - status = DSP_ECHANGEDURINGENUM; + status = -EIDRM; } else { /* * Pre-determine final key length. It's length of DCD_REGKEY + -- 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