@@ -293,9 +293,6 @@
/* Channel ID is out of range. */
#define CHNL_E_BADCHANID (CHNL_EBASE + 0x03)
-/* Channel is already in use. */
-#define CHNL_E_CHANBUSY (CHNL_EBASE + 0x04)
-
/* Invalid channel mode argument. */
#define CHNL_E_BADMODE (CHNL_EBASE + 0x05)
@@ -394,7 +394,7 @@ typedef void (*fxn_deh_notify) (struct deh_mgr *hdeh_mgr,
* -EINVAL: Invalid number of IOReqs.
* CHNL_E_OUTOFSTREAMS: No free channels available.
* CHNL_E_BADCHANID: Channel ID is out of range.
- * CHNL_E_CHANBUSY: Channel is in use.
+ * -EALREADY: Channel is in use.
* CHNL_E_NOIORPS: No free IO request packets available for
* queuing.
* Requires:
@@ -596,7 +596,7 @@ func_cont:
*/
DBC_ASSERT(status == CHNL_E_OUTOFSTREAMS ||
status == CHNL_E_BADCHANID ||
- status == CHNL_E_CHANBUSY ||
+ status == -EALREADY ||
status == CHNL_E_NOIORPS);
status = DSP_EFAIL;
}
@@ -811,7 +811,7 @@ dsp_status bridge_chnl_open(OUT struct chnl_object **phChnl,
status = CHNL_E_BADCHANID;
else if (chnl_mgr_obj->ap_channel[uChnlId] !=
NULL)
- status = CHNL_E_CHANBUSY;
+ status = -EALREADY;
} else {
/* Check for free channel */
status =