Message ID | 19F8576C6E063C45BE387C64729E7394044DEBEE16@dbde02.ent.ti.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | |
Headers | show |
diff --git a/arch/arm/plat-omap/include/dspbridge/errbase.h b/arch/arm/plat-omap/include/dspbridge/errbase.h index 7e2f0b6..e564284 100644 --- a/arch/arm/plat-omap/include/dspbridge/errbase.h +++ b/arch/arm/plat-omap/include/dspbridge/errbase.h @@ -188,9 +188,6 @@ /* Invalid stream mode */ #define DSP_ESTRMMODE (DSP_EBASE + 0x3a) -/* Nodes not connected */ -#define DSP_ENOTCONNECTED (DSP_EBASE + 0x3b) - /* Not shared memory */ #define DSP_ENOTSHAREDMEM (DSP_EBASE + 0x3c) diff --git a/drivers/dsp/bridge/rmgr/node.c b/drivers/dsp/bridge/rmgr/node.c index b26052c..d4949dc 100644 --- a/drivers/dsp/bridge/rmgr/node.c +++ b/drivers/dsp/bridge/rmgr/node.c @@ -1206,7 +1206,7 @@ dsp_status node_create(struct node_object *hnode) hnode->num_inputs - 1) || (hnode->num_outputs && hnode->max_output_index > hnode->num_outputs - 1)) - status = DSP_ENOTCONNECTED; + status = -ENOTCONN; if (DSP_SUCCEEDED(status)) { /* If node's create function is not loaded, load it */