@@ -457,7 +457,7 @@ typedef dsp_status(*fxn_chnl_close) (struct chnl_object *chnl_obj);
* I/O is allowed.
* CHNL_E_EOS: End of stream was already marked on a previous
* IORequest on this channel. No further I/O is expected.
- * CHNL_E_BUFSIZE: Buffer submitted to this output channel is larger than
+ * -EINVAL: Buffer submitted to this output channel is larger than
* the size of the physical shared memory output window.
* Requires:
* Ensures:
@@ -176,7 +176,7 @@ func_cont:
/* Check buffer size on output channels for fit. */
if (byte_size >
io_buf_size(pchnl->chnl_mgr_obj->hio_mgr))
- status = CHNL_E_BUFSIZE;
+ status = -EINVAL;
}
}