[n4/n3] return buffer in case of error
authorParichay Kapoor <pk.kapoor@samsung.com>
Fri, 25 Oct 2019 07:45:47 +0000 (16:45 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Mon, 28 Oct 2019 08:31:57 +0000 (17:31 +0900)
commiteccfb4ffd3c45243b771ed092e1f6252523f91c9
treeb546ebc446f8b6b509e9b992586e1ea2ea731f61
parent7fa339d99d8a5ad0c737ea2be0c679e22ddd1b3d
[n4/n3] return buffer in case of error

Return the buffer in case of error from NPU state to output state
This avoids hung state when error occurs or stop called in between processing the buffer

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
src/core/ne-host-input-service.c
src/core/ne-inf.c