ipc4: return ipc4 error status instead of posix error#5799
ipc4: return ipc4 error status instead of posix error#5799lgirdwood merged 1 commit intothesofproject:mainfrom
Conversation
lyakh
left a comment
There was a problem hiding this comment.
also return 0 in ipc4_create_pipeline(), in ipc_comp_connect(), ipc_comp_disconnect() should be return IPC4_SUCCESS. Also a bit strange, that a static function process_dma_index() in that file returns POSIX error codes, although they're replaced with IPC4 codes later, so, it isn't really a bug
Convert posix error to ipc4 error and return ipc4 error for functions in ipc4 directory. Signed-off-by: Rander Wang <rander.wang@intel.com>
@RanderWang can you make this a new PR to align these other functions with correct IPC4 return codes. |
c3b92d1 to
7255cdb
Compare
|
@lgirdwood @lyakh updated according to your comments. Thanks! |
Convert posix error to ipc4 error and return ipc4 error for
functions in ipc4 directory.
fixes #5737