@@ -79,11 +79,6 @@
/* A failure occurred during a delete operation */
#define DSP_EDELETE (DSP_EBASE + 5)
-/* A stream has been issued the maximum number of buffers allowed in the
- * stream at once ; buffers must be reclaimed from the stream before any
- * more can be issued. */
-#define DSP_ESTREAMFULL (DSP_EBASE + 7)
-
/* A general failure occurred */
#define DSP_EFAIL (DSP_EBASE + 8)
@@ -234,7 +234,7 @@ extern bool strm_init(void);
* Returns:
* DSP_SOK: Success.
* -EFAULT: Invalid hStrm.
- * DSP_ESTREAMFULL: The stream is full.
+ * -ENOSR: The stream is full.
* DSP_EFAIL: Failure occurred, unable to issue buffer.
* Requires:
* strm_init(void) called.
@@ -459,7 +459,7 @@ dsp_status strm_issue(struct strm_object *hStrm, IN u8 *pbuf, u32 ul_bytes,
(u32) tmp_buf, dw_arg);
}
if (status == CHNL_E_NOIORPS)
- status = DSP_ESTREAMFULL;
+ status = -ENOSR;
}
dev_dbg(bridge, "%s: hStrm: %p pbuf: %p ul_bytes: 0x%x dw_arg: 0x%x "